1) The tables are turned.
2) They turned the situation around for the better.
3) reverse the tide, turn the table
4) put an end to a passive state of affairs; regain the initiative
5) The wind has worked round.
6) reverse the situation