Wigan had to play more than 75 minutes with 10 men after Cedric Kipre's red card
Gavin Massey scored twice as 10-man Wigan dented Leeds United's automatic promotion hopes by coming from behind to win at Elland Road.
Wigan were a man light after just 14 minutes when Cedric Kipre saw red for handling on the line and although Pablo Hernandez's penalty hit the post, Patrick Bamford put United ahead shortly after.
However, Massey scored either side of half-time to stun the hosts and move the lowly Latics five points clear of the relegation zone.
Leeds, meanwhile, drop to third, level on points with second-placed Sheffield United but with a goal difference inferior to the Blades by six, with three games remaining.
With Leeds and the Blades facing similar calibre of opponents in their run-ins, a day on which the Whites threw away three points against 10 men, having seen Chris Wilder's side win comfortably in a similar scenario, could be decisive.
The fact both sides have swapped positions several times in recent weeks indicates further twists and turns are still likely but here Leeds simply failed to respond to the gauntlet thrown down by their Yorkshire rivals.
Despite Leeds, as usual, bossing possession and registering a remarkable 36 attempts, it was Wigan who looked the more dangerous on their admittedly fewer incursions into the final third.
Leon Clarke twice went close in the opening 25 minutes, sending an early header wide, and similarly narrowly off target with a lob after pouncing on Gaetano Berardi's short backpass.
In between those chances, Wigan went a man and a goal down when Kipre - perhaps harshly, with replays suggesting Bamford's shot hit his midriff rather than his hand - was sent off and Bamford's crisp finish ensured Hernandez's spot-kick miss was quickly forgotten.
Apart from a Tyler Roberts volley that was cleared off the line by Kal Naismith, however, Leeds failed to kick on and Massey drilled home an emphatic finish at Kiko Casilla's far post to draw Wigan level.
Massey nodded home a cushioned header from Clarke to silence Elland Road after the interval and Latics keeper Christian Walton made fine saves from Bamford, Ezjgan Alioski and Hernandez to preserve the points.