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'
|DFB Pokal Preview: Dortmund out to arrest slump|
|Mihajlovic: We tried to unsettle Roma|
|Garcia: Roma buried Bayern demons|
|Coupe de la Ligue Preview: In-form Marseille travel to Rennes|
|La Liga Review: Real claim Clasico honours|
|Serie A review: Roma held, Sassuolo rampant|
|Falcao doubtful for Chelsea clash|
|Suarez glad to be back despite Clasico defeat|
|Primeira Liga Review: Porto thrash Arouca, Pacos continue unbeaten run|
|Eredivisie Review: Ajax avoid slip-up, Vitesse denied by late equaliser|
|Real heart pleases Ancelotti|
|Ligue 1 Review: Sagnol hurting after PSG loss as Nantes extend unbeaten run|
|Luis Enrique acknowledges Real´s Clasico supremacy|
|Ramos delight as Real romp past Barca|
|Red card motivated PSG - Blanc|
|Leicester below par - Pearson|
|Bundesliga Review: Dortmund woes continue, Stuttgart edge thriller|
|Pique puzzled by penalty call|
|Indian Super League Preview: Lopez ban presents test for Atletico|
|Monk pleased to end winless run|
|Klopp vows to fight through rotten run|
|League Two Review: Murray beaten in Hartlepool bow, Luton go top|
|Swansea City 2 Leicester City 0: Bony brace seals important win|
|Warnock fumes at Dawson ´assault´|
|Hughes unhappy with first-half display|
|League One Review: Garner inspires Preston, Peterborough slip up|
|Real Madrid 3 Barcelona 1: Suarez denied in pulsating Clasico|
|Irvine thrilled with Anichebe impact|
|Bruce happy for Jakupovic|
|Milanic departs Leeds|
|Koeman pleased with ´difficult´ win|
|Rodgers content with Balotelli performance|
|Championship Review: Magic eight for Bournemouth, Wolves on the climb|
|Poyet left to rue more mistakes|
|PSG 3 Bordeaux 0: Lucas double helps champions close on Marseille|
|Wenger salutes ´focused´ Arsenal|
|Scottish Premiership Review: Hamilton beaten at Dundee, Inverness close gap|
|Indian Super League Review: Chennaiyin drubbed by Dynamos|
|Sunderland 0 Arsenal 2: Sanchez double the difference|
|West Brom 2 Crystal Palace 2: Berahino´s last-gasp penalty saves hosts|
|Liverpool 0 Hull City 0: Rodgers´ men frustrated in goalless draw|
|Southampton 1 Stoke City 0: Mane puts Saints second|
|Allardyce hopeful on Sakho injury|
|Borussia Dortmund 0 Hannover 1: Kiyotake increases pressure on Klopp|
|We did not deserve to lose - Pellegrini|
|Bremen dismiss Dutt after poor start|
|West Ham 2 Manchester City 1: Amalfitano and Sakho give hosts deserved win|
|QPR v Aston Villa: Redknapp wants Loftus Road to roar|
|Inzaghi warns against Milan complacency|
|Benitez shrugs off criticism|
|Pires, Lopez punished after spat|
|Mazzarri shrugs off sack rumours|
|Dyche not underestimating Everton|
|Melbourne Victory 5 Melbourne City 2: Berisha treble inspires derby win|
|Allegri hits back at Juve critics|
|Western Sydney Wanderers 1 Al Hilal 0: Juric earns slender lead|
|Redknapp denies Taarabt´s training accusations|
|United are in a fantastic position - Mourinho|
|Allardyce hails ´loyal´ West Ham owners|
|Scrap AFCON to stop Ebola - Song|
|Dutt: Werder deserved to lose|
|Wenger laments lack of confidence|
|Pardew urges Newcastle to ´challenge´ Champions League hopefuls|
|Chicago Fire 2 Houston Dynamo 1: Hosts give Pause fitting farewell|
|Falcao better at United - Filipe Luis|
|Blanc: I told you so|
|Crystal Palace to be sold - reports|
|Van Gaal backs ´unlucky´ Van Persie|
|Vitoria Setubal 0 Vitoria Guimaraes 1: Afonso´s goal enough|
|Delph sidelined for 2014|
|Carrick: I want to give Van Gaal selection headache|
|Aberdeen 1 Motherwell 0: Hayes strike enough to sink lowly visitors|
|Fulham 3 Charlton Athletic 0: Parker and Rodallega move Fulham out of drop zone|
|Celta Vigo 3 Levante 0: Alcaraz defeated in first game in charge|
|Toulouse 0 Lens 2: Visitors escape drop zone|
|Werder Bremen 0 Cologne 1: Ujah adds to bottom club´s woes|
|ADO Den Haag 2 Dordrecht 0: Kramer on target again|
|Possession key for Luis Enrique|
|FA charge Gillingham with ´race victimisation´|
|Poyet issues Sunderland rallying cry|
|Ancelotti ready to spring Clasico surprise|
|Suarez receiving help for biting ´impulse´|
|Tottenham v Newcastle United: Confident visitors look for White Hart Lane repeat|
|Manchester United v Chelsea: Van Gaal expecting Costa to play|
|Guardiola: Upcoming run crucial|
|UEFA investigate Daugavpils over match-fixing after arrests|
|Pires ´hit in face´ by opposition coach - Zico|
|Di Maria declared fit for Chelsea test|
|Burnley v Everton: Dyche relying on mental toughness|
|Milan v Fiorentina: Poli awaits crucial test|
|Serbia to appeal UEFA decision|
|Cesena v Inter: Milan club out to end tumultuous week|
|Bayern mauling changes nothing, says Garcia|
|Getafe v Atletico Madrid: Griezmann hopes to kick on|
|Cisse a doubt for Tottenham clash|
|Ferdinand plans to retire at end of season|
|Martinez pleased with stronger defensive displays|
|League One Preview: Crewe out to exit bottom four|
|Aguero not yet at his best, warns Pellegrini|
|AS Vita v ES Setif: Ibenge´s men seek to end 41-year wait|
|Juventus v Palermo: Buffon expecting response|
|League Two Preview: Life under Murray begins for Hartlepool|
|Villa have Cleverley option - Lambert|
|Costa has a ´little chance´ for United clash, says Mourinho|
|Brisbane Roar 0 Sydney 2: Janko scores wonder goal|
|Borussia Monchengladbach v Bayern Munich: Benatia calls for focus|
|Busquets available for El Clasico|
|Jones calls on United to attack|
|Coutinho vows to improve|
|Suarez not a factor - Ancelotti|
|Bruce wary of Balotelli backlash|
|Pogba extends Juve deal|
|Serbia awarded Albania walkover but deducted three points|
|Walcott to make comeback against Burnley|
|Robben lauds ´perfect´ life at Bayern|
|Vieira: Chelsea can better Arsenal´s ´Invincibles´ mark|
|No fracture for Bender - Klopp|
|Pepe a doubt for El Clasico|
|Allardyce: Carroll two or three weeks from return|
|Defoe unsure of future|
|CONCACAF Champions League Review: Saprissa overhaul Kansas City|
|Liga del Futbol Profesional Boliviano Review: Comeback win sends Oriente Petrolero second|
|Deportivo Capiata 0 Boca Juniors 1 (agg 1-1, 4-3 on penalties): Argentines reach quarters|
|Herediano 5 Perez Zeledon 1: Hosts cruise to victory|
|Liga MX Preview: Queretaro desperate to keep play-off hopes alive|
|First-half profligacy could have cost us - Favre|
|Lille will beat Everton next time - Enyeama|
|Montella pleased with Fiorentina response|
|Benitez blames lack of ´desire´|
|Dunga plays down captaincy controversy|