turn the tables

Intermedio alto (B2) neutral

Change a situation so the opposite is now true.

"The underdog team turned the tables in the second half and won the match."