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'
|Youthful Atletico suffer defeat to Melbourne Victory|
|Paris Saint-Germain 4 Leicester City 0: French champions impress|
|Origi confident of big season|
|LAFC´s Hollywood co-owner Will Ferrell hopes MLS can match Europe|
|Liverpool 2 AC Milan 0: Origi stars for Klopp´s men|
|Lamela not listening to Tottenham exit rumours|
|Green: Scoring goals is my job|
|Mancini: Icardi is Inter´s captain|
|Lucescu: Witsel wants to leave|
|Balotelli unwanted by Besiktas coach|
|Conte: Chelsea will struggle again if there´s no improvement|
|Rashford wants to learn from Ibrahimovic|
|NYC star Lampard revels in historic hat-trick|
|Milner willing to cover at full-back|
|Gameiro: Griezmann and I will score lots of goals|
|Wenger: I won´t buy for the sake of it|
|Inter 1 Bayern Munich 4: Hat-trick hero Green enjoys happy homecoming|
|Ibrahimovic keen for ´interesting´ Pogba deal|
|Conte unsure over Costa´s Chelsea future|
|Zidane: Morata will remain a Madrid player|
|Sergi Roberto ´more than a player´ - Luis Enrique|
|New York City 5 Colorado Rapids 1: Lampard hits hat-trick in MLS rout|
|Mourinho hints at United future for Mata and Fellaini|
|Real Madrid 3 Chelsea 2: Hazard show too late for Blues|
|Penalty woes for Everton, Gray treble inspires Burnley at Ibrox|
|Atleti to present Gameiro on Sunday|
|Ibrahimovic nets debut goal as United put five past Galatasaray|
|Barcelona 3 Celtic 1: Messi, Suarez in action as Catalans cruise to victory|
|WATCH: Zlatan open his Man Utd account with acrobatic goal|
|Alba: It would be foolish not to respect Ronaldo, but Messi on another level|
|Lahm hails ´sensational guy´ Schweinsteiger following Germany retirement|
|Stones´ professionalism praised amid City reports|
|Roma suffer Rui blow|
|Inter complete Ansaldi move|
|Nainggolan confident of Roma challenge despite Juve investment|
|Rummenigge tells off Ribery over Guardiola dig|
|Meli makes Sporting loan switch|
|No repeat of slow start, vows Allegri|
|Mourinho desperately wanted Embolo at Manchester United, claims Heidel|
|Dembele can do anything - Tuchel|
|Pogba arrival would boost Rooney - Yorke|
|Ben Yedder makes Sevilla move|
|De Jong signs PSV renewal until 2020|
|Kovacic to fight for his place at Real Madrid|
|Sturridge out to improve goals-per-game ratio|
|Mourinho hails ´humble´ Ibrahimovic ahead of United debut|
|Schweinsteiger will not leave Manchester United for Bundesliga return - Rummenigge|
|Benatia on target again in Juve win|
|Atletico set to sign Gameiro|
|Zenga appointed Wolves boss|
|Flattered Verratti not seeking Madrid move|
|Ancelotti: Growing transfer fees nothing special|
|Eriksson: Ibrahimovic and Mourinho combo enough to win Premier League|
|Meunier: I could not reject PSG|
|Klopp: I didn´t want Mkhitaryan|
|Anything could happen before transfer window shuts - Zidane|
|Montoya leaves Barca base, nears Valencia switch|
|Wijnaldum: I´m happy to play anywhere|
|Klopp backs Mignolet after Karius injury|
|Liverpool suffer Karius injury blow|
|Ranieri confident Mahrez will stay as contract talks continue|
|Emery confirms interest in Jese|
|Higuain´s Juventus move not about money - agent|
|Wolves sack head coach Jackett|
|Zidane: Ronaldo unlikely to play Madrid La Liga opener|
|Ibrahimovic: United fans are waiting for me|
|Deulofeu shines for Everton, Cook opens Bournemouth account|
|Higuain out to emulate Del Piero|
|Kante does his talking on the pitch - Conte|
|Mourinho explains Fosu-Mensah snub|
|Klopp: No more unwanted players at Liverpool|
|Inter want more than €60m for Icardi - Thohir|
|Leicester can replace Kante - Ranieri|
|Lazio complete Wallace signing|
|Gueye set to join Everton, confirms Di Matteo|
|Tuchel: Transfer market has gone cash crazy|
|Leicester hand King new four-year deal|
|No deal done for Pogba, says Raiola|
|Rooney: Mourinho impact already huge|
|Lafferty hit with FA betting charge|
|Top-four finish never enough for Arsenal, insists Wenger|
|Partey hoping to make his mark on Atletico squad|
|Ibrahimovic in, Schweinsteiger out as United head for Galatasaray friendly|
|Vietto set for Sevilla after completing medical|
|I rejected Besiktas to fight for Barcelona spot, reveals Mathieu|
|De Laurentiis fumes at Higuain´s ´lack of respect´|
|Promising Janssen boosts Tottenham´s title hopes|
|Besiktas sign Adriano on three-year contract|
|Tottenham 0 Atletico Madrid 1: Godin grabs the winner|
|Gomis completes Marseille loan move|
|Iniesta surprised at Casillas-Del Bosque spat|
|New Juve signings do not guarantee success - Allegri|
|New Juve signings do not guarantee success - Allegri|
|Middlesbrough snap up goalkeeper Guzan|
|Guardiola still loves Ribery despite jibes|
|West Ham worry over Tore injury|
|Serie A could be another one-horse race, says Eriksson|
|Schweinsteiger retires from Germany duty|
|Iniesta welcomes Barca´s midfield competition|
|Drogba: No luck in Arsenal scoring record|
|Wenger seeks ´experienced´ striker to bolster Arsenal attack|
|Eriksson and Shanghai SIPG still fighting|
|MLS All-Stars 1 Arsenal 2: Premier League giants win late as Xhaka makes debut|
|Conte: I want aggression and intensity|
|Wimmer backs physical Janssen for Tottenham success|
|Klopp: I wouldn´t spend £100m on one player|