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'
|Bolton Wanderers 1 Brentford 1: Smith watches on as strugglers snatch point|
|Napoli 2 Inter 1: Higuain at the double as hosts go top|
|Lewandowski: Less pressure on me than Aubameyang|
|Defoe, Larsson to miss Arsenal match|
|Sassuolo 1 Fiorentina 1: Di Francesco´s side extend unbeaten home run|
|Barcelona took ´a step forward´ without Messi - Busquets|
|Unfair to blame Garcia for Roma form - Zanetti|
|Southampton v Liverpool: Returning stars have Ibe in buoyant mood|
|Lewandowski´s five-goal haul recognised for four records|
|Barcelona v Villanovense: Holders get second crack at minnows|
|Verona sack Mandorlini|
|Valencia confirm Nuno departure|
|Premier League clubs reveal agent fees|
|Stoke will not underestimate Sheffield Wednesday – Hughes|
|Robben wants Guardiola to stay at Bayern|
|Aguero allays foot injury concerns|
|Cadiz v Real Madrid: Pepe calls for hard work in Andalusia|
|Bolton confirm players have not been paid for November|
|Neville takes Valencia training following Nuno resignation|
|Mihajlovic targets Coppa Italia triumph|
|Garde confident Villa will survive|
|Everton to make late call on Barry and McCarthy|
|Davids: Messi is an anomaly but Ronaldo just an athlete|
|Simeone open to January signings following Tiago injury|
|Messi leads nominees for Puskas Award|
|Hummels defends himself after media criticism|
|Messi, Ronaldo and Neymar nominated for Ballon d´Or|
|Luis Enrique, Guardiola and Sampaoli up for World Coach of the Year|
|Chelsea about the team, not just Costa - Ivanovic|
|Kuyt open to Feyenoord extension|
|Barcelona lodge complaint over ex-Madrid duo´s Neymar comments|
|Davies wants Manchester City quarter-final to get crazy|
|Ribery ordeal is over – Rummenigge|
|Smalling: Vardy run opens door to non-League hopefuls|
|Bender relieved to end Dortmund losing streak|
|Mata: Manchester United have six finals in December|
|Vardy reveals painful road to Premier League record|
|Pardew urges Newcastle to back McClaren|
|Russian clubs banned from signing Turkish players|
|Klopp expects Coutinho to face Southampton|
|Valverde: Let´s hope Barcelona don´t sign Aduriz|
|De Bruyne relishing link-up with Silva|
|´Crazy´ Munich could convince Guardiola to stay|
|Defiant Garcia refuses to resign despite Roma slump|
|Monk confident Swansea can turn the corner|
|Bellerin: Arsenal can cope without Sanchez|
|McClaren: Newcastle not panicking|
|Klopp delighted with Sturridge, Henderson returns|
|I wouldn´t swap Lukaku for Vardy - Martinez|
|MLS Review: Timbers, Crew to meet in final|
|Nuno saddened by Valencia departure|
|Morata will become a key player - Allegri|
|Serie A Review: Juve revival continues as Roma stutter|
|Ligue 1 Review: Marseille and Monaco share thriller as Caen go second|
|Nuno resigns from Valencia post|
|Palermo 0 Juventus 3: Four Serie A wins in a row for improving champions|
|Neymar: ´MSN´ should be Ballon d´Or final three|
|Madrid must ´give everything in each match´ - Navas|
|´I take full responsibility´ - Monk|
|Neil hails Grabban display after Arsenal draw|
|Arsenal will survive ´bad spell´ - Wenger|
|Klopp proud of ´perfect´ Liverpool win|
|Bundesliga Review: Aubameyang at the double for Dortmund, Leverkusen draw with Schalke|
|Wenger: I nearly rested Sanchez|
|Ronaldo did well, insists Benitez|
|Liverpool 1 Swansea City 0: Milner spot on again as Henderson and Sturridge return|
|Norwich City 1 Arsenal 1: Sanchez, Koscielny limp off as Gunners are held|
|Bilic worried about Sakho muscle injury|
|Angers v PSG: Kurzawa wants unbeaten season|
|Tuchel relieved to see Borussia Dortmund return to winning ways|
|Pulis ´disappointed´ with free-kick decision|
|Manchester City v Hull City: Wounded Tigers must avoid ´a pasting´, warns Davies|
|Reus Deportiu v Atletico Madrid: Simeone´s side face in-form underdogs|
|West Ham needed a second goal - Bilic|
|Deila slams Stokes following Twitter outburst|
|Eibar 0 Real Madrid 2: Bale and Ronaldo on target|
|Borussia Dortmund 4 Stuttgart 1: Aubameyang double hands Kramny a losing start|
|Chelsea performance enthuses Mourinho|
|Mourinho: Costa wouldn´t use a bib to hurt me!|
|Chelsea felt like ´a small team´ to Tottenham - Pochettino|
|West Ham 1 West Brom 1: Reid own goal steals point for Pulis´ men|
|´Impossible´ to compare Icardi and Higuain - Mancini|
|Stoke City v Sheffield Wednesday: Visitors are clear underdogs, claims Carvalhal|
|´It was pretty embarrassing´ - Colback slams Newcastle|
|Pochettino lauds his Tottenham players as ´heroes´|
|Mourinho denies Diego Costa rift|
|Hazard rues ´beautiful´ Lloris save|
|Inverness Caledonian Thistle 1 Celtic 3: Champions triumph despite Stokes storm|
|Inter playing to their strengths - Sarri|
|Tottenham 0 Chelsea 0: Pochettino´s side set record unbeaten run|
|Middlesbrough v Everton: Barry aiming to bounce back|
|AC Milan v Crotone: Mihajlovic targets four wins from four before mid-season break|
|Galliani: Milan refused to sell Niang|
|Premier League loan move unlikely for Drogba|
|Fekir dreams of Barcelona move and Ballon d´Or|
|Inter will not be criticised if they win the Scudetto - Prandelli|
|Newcastle fans right to be angry - McClaren|
|Ghoulam: Napoli-Inter not decisive in Scudetto race|
|Tiago out for at least three months|
|Monk: Klopp must make Liverpool title contenders|
|Lahm praises Bayern for adapting to injuries|
|Central Coast Mariners 0 Western Sydney Wanderers 2: Visitors win fifth straight|
|Arsenal building to title challenge - Mertesacker|
|Henry: Premier League title a five-horse race|
|Olsson urges Ibrahimovic to make Premier League move|
|Niang delighted with first Serie A goals|
|Wenger backs Campbell to earn spot|
|Much more to come from Firmino - Klopp|
|Kane dreaming of Premier League title win|
|Neymar´s evolution has been startling - Dani Alves|
|Van Gaal explains Lingard, Rojo absences|
|Messi number one regardless of goals - Iniesta|
|Klopp: I´m free to sign Dortmund players|
|Mourinho: Hazard not Chelsea´s number 10|
|Mihajlovic not surprised by Niang form|
|La Liga Review: Barcelona march on; victory for Atletico Madrid|