Wigan showed their remarkable powers of recovery yet again to twice fight back from behind and secure al 3-2 victory over West Brom at the Hawthorns.
Callum McManaman's close-range finish with just 10 minutes left gives Roberto Martinez side a crucial three points that closes the gap on the sides just above them in the table.
Shane Long gave the Baggies the lead from close range only for Arouna Kone to head the visitors level just before the break.
The home side re-took the lead five minutes into the second half when Gareth McAuley headed home Graham Dorrans' free-kick before Wigan substitute James McArthur brought the visitors level again eight minutes later with his first touch.
Despite McManaman's late intervention giving Wigan all three points, they stay in the bottom three, though they are now just two points behind 17th placed Sunderland.
In a quiet opening 20 minutes Latics forward Kone had the only real chance, his fizzing drive from distance smartly pushed away by Ben Foster.
The deadlock was broken just before the half hour when, after Paul Scharner lost the ball in midfield, Romelu Lukuku played a fine pass forward to Markus Rosenberg, whose low cross was converted at close range by Long.
Wigan were staring down the barrel at that stage but nearly equalised on 36 minutes when Shaun Maloney's free-kick had Foster beaten but curled just wide of the right-hand post.
Two minutes later though the Latics did equalise, Jean Beausejour whipping in a wonderful cross from the left onto the head of Kone, whose looping effort beat a motionless Foster.
The Baggies found themselves back in front five minutes into the second half when Dorrans' free-kick found the unmarked McAuley, who sent a downward header beyond Joel Robles.
Wigan boss Martinez threw on McArthur just before the hour and was rewarded instantly when the midfielder converted a teasing cross from Maloney with a smart diving header.
The Latics then took the lead for the first time with just 10 minutes left when McManaman sidefooted home from close range after another jinking run by Maloney down the left.
There was still time for late drama when McArthur cleared off his own goalline in injury-time, but Wigan clung on for the win.
West Brom boss Steve Clarke conceded Wigan's extra mental edge proved decisive.
"Nobody can question our attitude or commitment or desire to win the game because it was clear for everybody to see that we were trying to do our best to get the three points," he told Sky Sports.
"But sometimes at this stage of the season that little bit extra mental spark can make a difference."
Wigan boss Roberto Martinez praised his sides's mental strength and thinks staying up will be like winning the title.
"If anything was tested today it was the strong mentality of a very determined side who know exactly what they are doing and keep going till the end," told Sky Sports.
"Eight consecutive seasons at this level is an incredible journey and we are fighting to reach our title - our title is staying up."