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'
|Luiz: I nearly joined Barca|
|Persipura 0 Al Qadsia 6 (agg 2-10): Visitors coast into final|
|Blanc wary of ´exceptional´ Messi|
|Dawson extends Albion deal|
|Mourinho open to move within Premier League|
|Top four the priority - Van Persie|
|Liga MX Preview: Queretaro braced for Atlas challenge|
|Copa Sudamericana Preview: Sao Paulo out to arrest slump|
|MLS Preview: DC United ready to grind, Revolution host Crew|
|Argentine Primera Division Review: Newell´s unbeaten run ends|
|Mignolet shrugs Valdes, Liverpool link|
|Neville blames transfers for Newcastle form|
|Mathieu applauds Messi, Neymar partnership|
|Mignolet must improve - Carragher|
|Cole hails Lampard|
|Villa may miss opener in Australia|
|Hughes thrilled with ´deserved´ home win|
|Pardew fears for future|
|Serie A Review: Djordjevic treble fires Lazio to Palermo win|
|Pardew facing ´serious conversations´ with Ashley|
|Pacos de Ferreira 2 Belenenses 0: Hosts off the mark on home turf|
|Stoke City 1 Newcastle United 0: Crouch deepens gloom for visitors|
|Garcia embracing underdogs tag|
|Turkish Super Lig Review: Gekas double sinks Fenerbahce|
|Bayer Leverkusen v Benfica: Schmidt´s men seek goalscoring touch|
|Costa to start against Sporting|
|Russian Premier League Review: CSKA edge Ural thriller to close gap on Zenit|
|Ludogorets v Real Madrid: Holders out to avoid slip-up in Sofia|
|Malmo v Olympiacos: Roberto insists no hangover for visitors|
|Championship Preview: McKinlay in at Watford, Norwich host unbeaten Charlton|
|Luis Enrique expecting stern PSG test|
|Atletico Madrid v Juventus: Opening defeat puts pressure on hosts|
|Bruce staying positive despite winless run|
|Police investigating Van Dijk racism claims|
|Hazard dreaming of Champions League glory|
|Santos goes to Goa|
|Double delight for Al-Garni|
|Basel v Liverpool: Rodgers hopeful on Sturridge return|
|Arsenal v Galatasaray: Wenger facing selection headache|
|Blanc calling on others to cover for Ibrahimovic absence|
|Zenit v Monaco: Jardim sticking with style|
|Ibrahimovic out of Barca clash|
|Lucescu happy to host Porto in Lviv|
|Hart looking to bounce back against Roma|
|McKinlay replaces Garcia at Watford|
|Anderlecht v Borussia Dortmund: Hasi expecting tough test|
|Sunderland not panicking, says Jones|
|Pelle hopes for Italy call|
|Slutsky well aware of Bayern strength|
|Guardiola entering unchartered territory|
|Arsenal have a point to prove against Chelsea - Oxlade-Chamberlain|
|Irvine hails Lescott impact|
|Carlos backs Ancelotti to defend crown|
|Montoya replaces injured Douglas|
|Pearce wants permanent Hunt deal|
|Nolan targets top 10|
|Mangala reaction pleases Kompany|
|Dyche keen to emulate West Brom example|
|Irvine happy to see Hawthorns rocking again|
|San Siro ´isn´t enough anymore´ for Milan|
|Redknapp calls for temporary subs|
|Western Sydney Wanderers v Seoul: A-League side look to continue dream run|
|Hazard rules out PSG switch|
|MLS Review: Keane scores twice in Galaxy romp|
|Costa Rican Primera Division Review: Five-star Alajuelense extend streak|
|Colombian Primera A Review: Medellin held, Santa Fe go top|
|Liga del Futbol Profesional Boliviano Review: Wilstermann remain top|
|Napoli rewarded for team effort - Benitez|
|Liga MX Review: Layun scores four, Monterrey leapfrog Atlas|
|Paraguayan Division Profesional Review: 15-year-old Diaz is Cerro´s hero|
|Uruguayan Primera Division Review: Racing leave it late, Recoba scores from a corner|
|Brazilian Serie A Review: Gremio´s resurgence continues|
|Venezuelan Primera Division Review: Leaders held, Tucanes win again|
|Referee got it right - Rooney|
|Peruvian Primera Division Review: Melgar stay perfect|
|Bielsa: Marseille always in control|
|Newcastle will offer Tiote new deal - Pardew|
|Shakhtar Donetsk v Porto: Lucescu looks to maintain impressive home record|
|Ligue 1 Review: Marseille, Bordeaux continue fine starts|
|Serie A review: Inter stunned, Sampdoria derby delight|
|APOEL v Ajax: De Boer hoping to end poor away form|
|Schalke v Maribor: Draxler set for return for confident hosts|
|Al Ahly 2 Coton Sport 1 (agg 3-1): Hosts secure historic final berth|
|Sporting Lisbon v Chelsea: Hosts protecting fearsome home record|
|CSKA Moscow v Bayern Munich: Robben calls for psychological focus|
|Primeira Liga Review: Gil Vicente´s misery continues|
|Bundesliga Review: Late Piazon strike stuns Hamburg, Augsburg edge out Hertha|
|Dyche wants Burnley to bounce straight back|
|Hard work paying off for West Brom - Irvine|
|Paris Saint-Germain v Barcelona: Blanc hopeful of Ibrahimovic return|
|Eredivisie Review: PSV lose at Heerenveen, Twente win|
|TP Mazembe 3 ES Setif 2 (agg 4-4): Away goals secure final berth for Algerians|
|West Brom 4 Burnley 0: Berahino shines in routine win|
|Mazzarri accepts blame for Cagliari humbling|
|Inzaghi frustrated with Milan draw|
|Manchester City v Roma: Zabaleta ready for crucial clash|
|CSL Review: Evergrande take dramatic Guangzhou derby|
|Cesena 1 Milan 1: Rami rescues point for Inzaghi´s men|
|Inter 1 Cagliari 4: Ekdal hat-trick inspires sensational away win|
|Reading 3 Wolves 3: Late Murray leveller earns draw|
|BATE v Athletic Bilbao: La Liga side look to kick-start season|
|Luiz needs time - Blanc|
|Every day is difficult - Guardiola|
|Martinez hails Hibbert and Browning|
|Lallana getting fitter - Rodgers|
|My best is yet to come - Rooney|
|K.League Review: Pohang snatch draw against leaders, Busan I´Park claim much-needed win|
|Chadli revels in derby goal|
|Al Ain v Al Hilal: Uphill battle for Dalic´s men|
|Koeman praises Mane and Bertrand|
|Costa needs 15 days to recover - Mourinho|
|Serie A not a two-horse race - Tevez|
|MLS Review: Seattle go top, Toronto fight back to win|
|Atletico were simply better - Emery|
|Gerrard: I´m not finished yet|
|Persipura v Al Qadsia: Visitors set to reach final|
|Kitchee v Erbil: Belencoso key for hosts|
|Ecuadorian Primera A Review: Barcelona continue good form|
|Sakho sorry for pre-game departure|
|Berahino ´lost´ after Clarke exit|
|La Liga Review: Big guns win|
|Home fans key to Atletico success - Simeone|
|Primeira Liga Review: Benfica win thriller, Braga beat Rio Ave|