throw in with

Fortgeschritten (C1) informal

To decide to join someone's side or team, especially when there is some risk involved.

"He decided to throw in with the smaller party, believing their policies were more honest."