the tables have turned

The tables have turned is a common idiom used when the current situation has changed and given the advantage to the group who had previously been at a disadvantage. This is often used when during some sort of competition, business meeting or even a game of some kind, one team or group of people had been losing or at some sort of a disadvantage but then when the tables are turned, the losing team all of a sudden begins winning.