Rhian Brewster scored his first goal in senior football as Swansea returned to the Sky Bet Championship play-off places with a 2-1 victory over Wigan.
The England U17 World Cup winner, on loan from Liverpool until the end of the season, equalised with a smart left-footed effort before Andre Ayew completed Swansea's comeback and took them into fifth spot.
Wigan had led for three first-half minutes through Nathan Byrne and acquitted themselves well in an entertaining contest.
But the Latics have now won only once in 16 games and remain in the relegation zone.
There was a worrying start to the match as Swansea goalkeeper Freddie Woodman and Wigan striker Joe Garner suffered a clash of heads inside the opening 45 seconds.
Both players needed treatment but were able to resume after a lengthy stoppage.
Wigan took the lead after 16 minutes with a sweeping move that stretched from one penalty area to the other.
Right-back Byrne had been involved earlier and he made his way into the box to slot home Kieran Dowell's cut-back.
But Swansea were level almost immediately as two England U21 internationals combined to devastating effect.
Chelsea youngster Conor Gallagher, making his Swansea debut after joining on loan in midweek, slipped a reverse pass into Brewster's path and his unerring finish found the bottom corner of the Wigan net.
The addition of Gallagher to fellow newcomer Brewster and Ayew provides Swansea with extra movement and bodes well for their promotion prospects in the second half of the season.
Gallagher was eager to break forward from his midfield station and fired over Connor Roberts' cross as Swansea continued to work themselves into good positions.
But Wigan remained a threat on the break and another excellent move saw Garner head over Antonee Robinson's cross.
Swansea went close when Bersant Celina sped past Byrne and Kal Naismith had to intervene to make a goal-line clearance.
Celina sent over another cross on the stroke of half-time but the unmarked Ayew headed wide when it seemed easier to score.
Swansea raised the tempo at the start of the second half and Brewster's shot was blocked before a Kyle Naughton attempt from distance was deflected wide.
Gallagher then found space in a crowded goalmouth to dig out an effort, which was again deflected to safety.
Wigan sent on Wales striker Kieffer Moore for his first taste of action since early December, but Swansea's superiority was rewarded after 67 minutes.
The outstanding Celina sprinted past Byrne and crossed for Ayew to backheel his 10th league goal of the season.
Ayew and Celina could have extended the lead, but Swansea were grateful to Woodman in stoppage time for denying Moore from a tight angle.
What the managers said...
Swansea's Steve Cooper: "Strikers love scoring and it was a really good finish [from Brewster]. I've seen him score hundreds of them during my time with Liverpool and with the national team. That little power run in behind and the quick finish.
"It will not do him any harm, it will build his confidence and he will realise he will have to make those runs and make those opportunities for players to make those passes. He is a young boy who is loving life in Swansea. The fans have been great with him and he wants to give a bit back. He knows that's important."
Wigan's Paul Cook: "Of course we've still got the fight, you have to. It's same old, same old. We've been there before. We managed to take the lead and then we gave a goal away which you couldn't make up.
"But it's the way our season's gone. We gave away another cheap goal. The lads don't lie down, but we lacked quality."