Caught in the middle

To be caught between two opposing people or groups so it is difficult to remain neutral. Caught in the crossfire.

I was caught in the middle when my friend and his girlfriend began to fight.