James McClean’s first Wigan Athletic goal ensured the holders beat Crystal Palace 2-1 to reach the fifth round of the FA Cup on Saturday.
Aaron Wilbraham's second goal for Palace just a few minutes after he came on looked to have earned a replay after Ben Watson had opened the scoring against his former club.
Winger McClean had the final say though, as he struck 12 minutes from time in the fourth round clash at the DW Stadium to dump out Premier League outfit Palace.
Tony Pulis' men must now turn their attention back to staying in the top flight, while Wigan can dream of another trip to Wembley as well as mounting a promotion push.
Defender Paddy McCarthy returned to the Palace line-up as captain, having not featured since April 2012, as Pulis made four changes to the side that beat Stoke City last weekend.
On-loan striker Nicky Maynard made his home debut for Wigan and Uwe Rosler also made four alterations to the side beaten at Doncaster Rovers.
Wigan attempted to stamp their authority on the game in the opening exchanges, but Palace came close to an opening goal seven minutes in when Cameron Jerome's strike produced a fine save from Ali Al-Habsi.
Stuart O'Keefe fired straight at Al-Habsi after Marouane Chamakh had cut the ball back as the visitors took the upper hand.
Palace were almost caught out from a short corner after 19 minutes, but Callum McManaman fired wide of the far post.
And the home side were in front nine minutes before half-time, when McClean broke down left and his cross was swept home by the on-rushing Watson with his right foot.
There was another blow for Palace when Jonathan Parr, who recently returned from five months on the sidelines with a ligament injury, was carried off after a lengthy stoppage late in the first half.
McManaman spurned a chance to double Wigan's lead seven minutes into the second half when he flashed a left-foot shot wide after Palace failed to clear.
But Palace got into their stride and Al-Habsi thwarted them once again when he kept out Jason Puncheon's strike with a fine reflex save.
There was more frustration for winger McManaman when his shot deflected wide after he opted to take an extra touch.
And he was made to pay when Wigan failed to clear Barry Bannan's corner and substitute Wilbraham made an instant impact as he struck from close range after 69 minutes.
Fellow substitute Dwight Gayle could have put Palace in front, but Al-Habsi made a fine save down to his left after a swift break.
But it was Wigan who snatched a winner 12 minutes from time when Roger Espinoza set up McClean and he found the back of the net with a left-footed strike from outside the area.
McCarthy missed a free header that would have forced a replay late on, before Gayle had penalty appeals turned down after having his shirt pulled in the area.
|26||Ali Al Habsi|
|Coach: U. Rösler|
for N. Maynard 74'
for C. McManaman 74'
for J. McArthur 80'
|Ronaldo omitted from Portugal squad|
|Academica 1 Vitoria Setubal 1: Paulo Sergio´s men still waiting for first win|
|Marseille 4 Nice 0: Payet helps secure first home win for Bielsa|
|Go Ahead Eagles 1 Willem II 0: Vriends on target as hosts clinch win|
|Augsburg 2 Borussia Dortmund 3: Ramos strike proves crucial for visitors|
|McCarthy completes QPR switch|
|Paris Saint-Germain v Saint-Etienne: Injury-hit champions set for stern test|
|Tottenham v Liverpool: Rodgers downplays Balotelli arrival|
|Montpellier and Spurs agree Stambouli fee|
|Torres set for two-year Milan loan|
|Real Sociedad v Real Madrid: Ancelotti´s men on the road after departures|
|Bamford loaned to Middlesbrough|
|Gallifuoco makes Swansea move|
|Aston Villa v Hull City: Visitors seek Europa League hangover cure|
|Douglas completes Barca switch|
|Van Gaal hits out at Hodgson over Shaw|
|Villarreal v Barcelona: Rakitic grounded after promising start|
|Lallana poised for Liverpool debut|
|Mourinho bullish on Torres future|
|Clasie signs Feyenoord extension|
|Allegri raring to go|
|Two changes to Netherlands squad|
|Milan v Lazio: Inzaghi and Pioli reigns get under way|
|Costa still in contention for Everton|
|Squad size crucial for marathon season - Garcia|
|Leicester City v Arsenal: Wenger predicts tough challenge|
|Pellegrini hopes CSKA have learned lessons|
|Ibe opts for Derby switch|
|New faces in Spain squad|
|Holders Sevilla handed difficult Europa League draw|
|Egypt v Kenya: Williams era begins in Aswan|
|Pardew: Newcastle move key to Colback call-up|
|Van Gaal had not expected Rojo delay|
|Alonso: Kroos arrival not a factor|
|McGregor commits to Celtic|
|McGregor commits to Celtic|
|Low picks 18 World Cup winners for final rematch|
|Wenger coy over new signings|
|Redknapp ready to sign new QPR deal|
|Palace hand Bolasie new deal, table Traore bid|
|Alonso finalises move to Bayern Munich|
|Qualification a ´big step´ for Saint-Etienne|
|Thohir coy on Lavezzi talk|
|Faurlin injury curse strikes again|
|PSG president confident after Champions League draw|
|Hull closing on Hernandez deal|
|Warnock held Palace talks last year|
|Slomka cools Holtby talk|
|Slomka cools Holtby talk|
|Marotta confident of Juventus success|
|Marotta confident of Juventus success|
|Aguirre: New era for Japanese football|
|CONCACAF Champions League Review: Olimpia go top|
|Torino v Inter: Visitors out to maintain dominance|
|Copa Sudamericana Review: Penarol cruise into second round, Cesar Vallejo do it tough|
|Costa Rican Primera Division Review: Uruguay remain winless|
|Ronaldo backs Di Maria to shine at United|
|Argentine Primera Division Review: Velez stay perfect, Sanchez inspires River|
|Copa do Brasil Review: Cruzeiro win big, Corinthians lose|
|Barca wary of ´difficult´ opponents|
|Ronaldo confident after Champions League draw|
|´Not an easy´ draw for Dortmund|
|Bruce laments ´worst´ elimination|
|UEFA Europa League Play-Off Review: Lyon and Sociedad dumped out, Inter win big|
|Robinson joins QPR|
|Mazzarri lauds Kovacic development|
|Townsend eager to get back to full fitness|
|Tottenham 3 AEL 0 (agg 5-1): Spurs cruise into Europa League proper|
|Leicester complete sensational Cambiasso swoop|
|Del Piero confirms move to Indian Super League|
|Hull City 2 Lokeren 1 (agg 2-2): Lokeren progress despite Brady brace|
|Benatia excited to face Roma|
|Inter 6 Stjarnan 0 (agg 9-0): Kovacic treble sees hosts cruise through|
|Championship Preview: Redfearn in charge for Bolton clash, Magath eyes first league win|
|Newcastle United v Crystal Palace: Warnock kicks off second Palace stint|
|Atletico Madrid v Eibar: Champions seek first win|
|Rodgers excited about ´special´ draw|
|Manchester City v Stoke City: Pellegrini could chop and change|
|Warnock has no issues with Puncheon|
|Sacked Hockaday´s tenure at Leeds lasts just six games|
|Palace re-sign Zaha on loan|
|Burnley v Manchester United: Van Gaal hoping to kickstart recovery|
|Ronaldo named Europe´s best|
|Swansea City v West Brom: Monk wants Liberty fortress|
|Cameroon confident DR Congo clash will go ahead|
|West Ham v Southampton: Koeman anticipating physical West Ham challenge|
|Hughes expecting tough City test|
|Holders Real set for Liverpool test|
|Monk targeting two more additions|
|Koeman keen for ´difficult´ transfer window to end|
|Van Basten absent due to health issues|
|League Two Preview: Morecambe chase another win, giant-killers back in action|
|Irvine eyeing another winger|
|Van Gaal confirms more signings to come|
|Barca are constantly improving, says Rakitic|
|Di Maria is not ´the miracle´, says Van Gaal|
|Torres Milan move ´a real possibility´|
|Juventus v Chievo: Allegri begins quest to replicate Conte success|
|League One Preview: MK Dons and Orient aim to follow up historic wins|
|Schalke v Bayern Munich: Benatia in line for debut|
|Pirlo blow for Juve|
|Napoli defender Ghoulam suffers fractured arm|
|QPR v Sunderland: Redknapp desperate for points|
|Everton v Chelsea: Costa absence could prove costly|
|Deschamps makes two changes to France squad|
|Warnock excited by Palace challenge|
|Lambert: Delph deserves England call-up|
|Aguirre names five uncapped players in Japan squad|
|Ki signs new four-year Swansea deal|
|CSL Preview: Lippi returns to dugout, Beijing Guoan host rock-bottom Harbin Yiteng|
|J.League Preview: Yoshida out to keep pressure on Urawa|
|Chambers, Delph, Colback win England call-ups|
|Rooney named new England captain|
|Costa in doubt for Everton trip|
|Ross County sack Adams|
|Platini wants more UEFA representatives at World Cup|
|Allardyce hints at big-name signing|
|Platini will not challenge Blatter for FIFA presidency|
|Bruce convinced of qualification|
|Alonso set to swap Madrid for Munich|
|Pochettino to use MK Dons as an example|
|Champions League difficult for Arsenal - Bilic|
|Redknapp takes aim at ´really poor´ QPR|
|MLS Preview: Timbers braced for ´massive´ clash in Vancouver|
|Los Angeles Galaxy 4 DC United 1: Arena´s side show quality|
|Copa Sudamericana Review: River Plate, Libertad among teams to progress|
|CONCACAF Champions League Review: Pachuca in seventh heaven, Leon held|
|LDU Quito 3 Deportivo Quito 0: Hosts earn bragging rights against rivals|
|Johnson calm over future|
|Kiessling hails Leverkusen|
|Benitez: Mistakes cost Napoli Champions League spot|
|K. League Preview: Seoul eyeing winning streak|
|Liga MX Preview: Monterrey looking to build momentum|
|Valverde hails ´historic day´ for Bilbao|
|UEFA Champions League Review: Mixed results for Europe´s big guns, Moti the hero for Ludogorets|