turn the tables

Upper Intermediate (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."