Have a foot in both camps

To support each of two opposing groups of people, to have an interest in two opposing groups of people.

The new mayor has a foot in both camps of the development dispute.