Sunderland saw off a spirited Carlisle United side 3-1 at the Stadium of Light on Sunday to secure an FA Cup fourth-round spot.
Gus Poyet's side, who sit bottom in England's top flight, made the most of a break from their league woes to book a home clash with Kidderminster Harriers or Peterborough United, but were made to work hard against the League One outfit.
After dominating the early stages of the first half, the hosts took the lead 34 minutes in through a stunning free-kick from Adam Johnson.
David Amoo fouled Craig Gardner on the edge of the area and Johnson curled the ball home left-footed, but Sunderland's lead was shortlived.
Matty Robson was the man on the scoresheet for the visitors two minutes before half-time, pouncing on a loose ball to score after the home defence failed to clear Amoo's cross.
Sunderland restored their lead soon after the restart thanks to a large slice of luck, with the unfortunate Sean O'Hanlon turning Johnson's effort over goalkeeper Greg Fleming, before a debut goal from substitute El-Hadji Ba finished off Carlisle a minute from time.
Poyet brought Gardner and Wes Brown back into his starting XI, although captain John O'Shea remained absent due to a persistent shoulder problem.
Former Sunderland midfielder Graham Kavanagh made three changes to Carlisle's team, handing starting berths to Bradley Potts, Lewis Guy and O'Hanlon.
Jozy Altidore found himself one-on-one with Fleming after 16 minutes courtesy of a throughball from Johnson, but Carlisle's keeper came out on top.
Sunderland maintained the pressure and Gardner was next to threaten from long range following a dangerous corner from the home side.
Vito Mannone was called into action for the first time on 21 minutes when he tipped Prince Buaben's driven strike round the post after it evaded a clutch of Sunderland defenders.
Altidore then failed to get sufficient contact on a teasing Ondrej Celustka cross before Johnson's free-kick eventually handed Sunderland the lead their early dominance warranted.
The winger's third goal of the season, all of which have come at the Stadium of Light, looked set to put Sunderland in front at the interval only for Robson to draw Carlisle level.
Sunderland retook the lead four minutes into the second half when Johnson's volley was diverted into the Carlisle goal courtesy of a deflection off the covering O'Hanlon.
Having already conceded one lead, Poyet's men appeared determined to gain a two-goal cushion but struggled to convert their superior possession into clear-cut chances.
Debutant Duncan Watmore showcased his eagerness to impress after being introduced a minute after the hour, the 19-year-old forcing a smart save from Fleming after neat interplay with Altidore.
Carlisle continued to pose a threat on the counter, but Ba completed the scoring following Altidore's lay-off as Sunderland progressed to the next round of a competition they last won in 1973.
|Coach: G. Poyet|
for Sung-Yeung Ki 63'
for Dong-Won Ji 63'
for S. Larsson 80'
|MLS MVP Villa has no interest in Premier League move|
|Vidal: I never had a problem with Luis Enrique|
|Ancelotti not keen on Madrid Champions League reunion|
|Zabaleta: Guardiola needs Iheanacho more than ever|
|Ranieri not fearful of Foxes chop|
|Celtic fan arrested for throwing burger at police horse|
|Dad-to-be Lewandowski reveals baby news with goal celebration|
|Klopp´s Liverpool watched Barca at Camp Nou|
|Wenger braced for tough last-16 draw|
|Roberts buoyed by Guardiola acclaim|
|Gladbach´s Alvaro Dominguez retires at 27|
|Simeone satisfied with aggressive Atletico|
|Emery aims to bounce back after European disappointment|
|Madrid demand ´maximum respect´ for Ronaldo|
|No pressure on Iheanacho to fill Aguero´s boots - Guardiola|
|Cocu praises PSV effort despite European exit|
|Ancelotti hoping for confidence boost|
|Gunes takes blame for Besiktas thrashing|
|Vitoria upbeat despite Napoli defeat|
|Arda Barca future brighter after hat-trick|
|Le Tissier makes ´naked massage´ claims|
|´He has a smell for the goal´ - Wenger hails hat-trick hero Lucas|
|Guardiola to assess Roberts situation at end of season|
|Napoli have no fear - Reina|
|Iheanacho shines but Guardiola concerns lie deeper|
|Barcelona pass masters set new Champions League benchmark|
|Dybala ready to return for Juventus|
|PSV 0 Rostov 0: Russians seal Europa League spot with stalemate|
|Paris Saint-Germain 2 Ludogorets 2: Di Maria rescues draw but PSG miss out on top spot|
|Benfica 1 Napoli 2: Super-sub Mertens seals top spot|
|Dynamo Kiev 6 Besiktas 0: Nine-man visitors crash out|
|Messi fails to match Ronaldo´s Champions League record|
|Basel 1 Arsenal 4: Lucas hat-trick helps Gunners clinch top spot|
|Manchester City 1 Celtic 1: Roberts scores against parent club|
|Bayern Munich 1 Atletico Madrid 0: Lewandowski free-kick the difference in Bavaria|
|Barcelona 4 Borussia Monchengladbach 0: Arda hat-trick lights up Barca procession|
|Zidane ´more sympathetic´ than other Madrid coaches, says Ramos|
|Bartra eager to square up against old rivals Madrid|
|Pardew´s job is ´totally safe´ - Palace chairman|
|Shelvey and Dummett red card appeals successful|
|Lopes doubtful for Sevilla clash due to lack of sleep|
|Real Madrid test will bring the best out of Aubameyang - Tuchel|
|Slutsky to leave CSKA Moscow|
|Genesio hails Valbuena character|
|Spurs hungry for Europa League football - Vertonghen|
|Deschamps claims Pogba is unlikely to ever win Ballon d´Or|
|Xavi: Barca have not lost their essence|
|Strootman banned for sparking Rome derby brawl|
|Mkhitaryan accepts blame for slow start at United|
|New York City star Villa named MLS MVP|
|Ramos distances himself from tax avoidance scandal|
|Witsel casts doubt on January Juventus switch|
|Schmidt has faith in misfiring Hernandez|
|Gabriel not happy at Inter, says agent|
|PSG just another game for returning Balotelli|
|Dortmund eye top spot and a goalscoring record - Champions League in Opta numbers|
|Southgate bids farewell to England assistant Lee|
|Europa League can help Spurs end Wembley hoodoo - Pochettino|
|Watmore´s season ended by injury|
|Zidane: Dortmund clash is a final|
|Gotze to miss Madrid test|
|Lacazette to ponder Lyon future|
|Griezmann lauds ´world class´ Aubameyang|
|Sporting´s in-demand Gelson going nowhere, claims agent|
|FA appoints new lead QC as scope of child sexual abuse review is outlined|
|Hodgson: England players failed to grasp my instructions|
|Xhaka pleads for time to settle in at Arsenal|
|Kluivert urges PSG to learn from Montpellier humbling|
|Augenthaler tips Bayern captain Lahm to play on|
|Rodgers: Celtic growing in confidence in Europe|
|Brazil-Colombia friendly proposed to raise money for Chapecoense|
|If you don´t play, you can´t shine - Hummels urges Mourinho to believe in Mkhitaryan|
|Ronaldinho ready to help Chapecoense|
|United can still finish top four - Guardiola|
|Bale´s ankle ´feeling better every day´|
|Sarri: Napoli in Lisbon to win|
|Watford and West Brom hit with FA charge|
|Karanka delighted with Boro´s game management|
|Middlesbrough 1 Hull City 0: Ramirez sinks sorry Tigers|
|Can Arsenal break the Basel curse? The Champions League in Opta Numbers|
|Everton confirm serious knee injury for Bolasie|
|Stam set for Old Trafford reunion in FA Cup third round|
|Sanchez, Ozil contract talks not just about money - Wenger|
|It is normal my son says I´ll coach Inter, I will - Simeone|
|Chapecoense confirmed as Copa Sudamericana champions|
|Sullivan backs Bilic to reverse Hammers´ fortunes|
|It was close...very close - Hummels reveals level of Man United interest|
|What You Might Have Missed: An FA Cup comeback of all comebacks and Monaco can´t stop scoring|
|Preston fans to be refunded from Beckford, Doyle fight fines|
|In-demand Lindelof ´happy to stay at Benfica´|
|FA charges City and Chelsea for late fracas|
|Darmstadt sack coach and sporting director after dismal run|
|Anyone who says they would not sign Messi is a liar! - Caballero|
|Roberto warns Madrid: Barcelona will cut the gap|
|Emery: Champions League top spot was always PSG´s priority|
|Guardiola brands Sanchez transfer rumours as lies|
|Boateng ruled out of Bayern´s clash with Atletico|
|FA confirms four-game ban for Aguero|
|Blatter FIFA ban remains after CAS dismisses appeal|
|Luis Enrique: I don´t give a damn about beating Gladbach|
|Emre hits out at Allardyce´s style... and slams his chewing gum|
|Bravo the world´s best goalkeeper, says Pellegrini|
|Ibrahimovic: I know how to kick someone and make him fall asleep|
|Barcelona and Real Madrid would not win 5-0 in Ligue 1 - Verratti|
|Seedorf out, Eriksson in at second-tier Chinese club|
|Tevez to China? Shanghai Shenhua claim ´breakthrough´ in talks|
|´English football is not more pure´ – Pochettino will not slam Alli for ´dive´|
|Gudjohnsen offers his services to Chapecoense|
|Savicevic: Champions League qualification paramount for Milan|
|Wenger: West Ham could take two years to settle|
|River Plate play in green as tribute to Chapecoense|
|Roberto Carlos open to coaching in A-League|
|Wenger confident there is more to come from Arsenal|
|Kane wants to see out career at Tottenham|
|Aguero challenge labelled ´crazy´ by disappointed Cahill|
|Mourinho ´has nothing to hide´ over tax affairs|