in opposition to somebody/something
in opposition (to someone or something)
in oppoˈsition to somebody/something
1 disagreeing strongly with somebody/something, especially with the aim of preventing something from happening: Protest marches were held in opposition to the proposed law.
2 contrasting two people or things that are very different: Leisure is usually defined in opposition to work.