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-Yong Ki 63'
for Dong-Won Ji 63'
for S. Larsson 80'
|Cruyff brands Netherlands ´a disgrace´|
|Kick It Out backs Barnes over race comments|
|Argentina v Ecuador: Messi remains doubtful for friendly|
|Coates backs Hughes ambition at Stoke|
|Atletico able to call on Saul again|
|Zidane would accept Real job|
|Hernandez frustrated by lack of Real opportunities|
|Spartak donate money to 102-year-old fan after robbery|
|Clasie pulls out of Netherlands squad|
|Italy´s Bertolacci out of England friendly|
|Newcastle post record profit as Ashley debt stays the same|
|Al Sadd: We want Xavi to bring tiki-taka|
|Lacazette expected frosty Saint-Etienne reception|
|Barnes: I can´t get back into management because I´m black|
|Rooney praises England aggression|
|Southgate tips Kane for return to U21s|
|Mexico v Paraguay: Goals in order for Copa America aspirants|
|Peru v Venezuela: Sanvicente wants Venezuelan response|
|Carvalho confident of playing Juventus|
|Neymar demands protection after Medel stamp|
|MLS Review: RSL, Fire secure breakthrough wins|
|Firmino firmly on radar - Dunga|
|O´Neill delighted with second-half display|
|First-half dominance pleases Deschamps|
|Muller criticises Germany profligacy|
|Euro 2016 Qualifying Review: Portugal go top, Gibraltar make history in defeat|
|Liverpool the only English club I could play for - Suarez|
|France 2 Denmark 0: Lacazette off the mark in routine victory|
|Republic of Ireland 1 Poland 1: Long rescues vital point|
|Portugal 2 Serbia 1: Coentrao puts hosts top of Group I|
|Strachan hails ´terrific´ Gibraltar|
|Lafferty back playing with a smile on his face - O´Neill|
|Toure to reveal Ivory Coast future over coming days|
|Georgia 0 Germany 2: Reus and Muller on target for world champions|
|Northern Ireland 2 Finland 1: Lafferty inspires fourth qualifying success|
|Scotland 6 Gibraltar 1: Casciaro´s historic moment outshone by Fletcher´s hat-trick|
|France 2-0 Denmark: Lacazette and Giroud on target|
|Firmino hopeful of Copa America spot|
|Hummels considering options at Dortmund|
|Suarez goalless on Anfield return, but Balotelli nets stunner|
|Casciaro scores first competitive goal for Gibraltar|
|Fleetwood Town 1 Preston North End 1: Ball stunner claims share of derby spoils|
|Italy v England: Judge me on results, says Conte|
|Colombia v Kuwait: Falcao seeking another strong showing|
|Brazil 1 Chile 0: Firmino settles scrappy affair|
|Luxembourg v Turkey: Let´s kick on, urges Terim|
|South Africa 1 Nigeria 1: Zungu strikes late to earn draw|
|Smalling wants long-term United stay|
|South Africa 1-1 Nigeria: Last-gasp Zungu goal cancels out Musa strike|
|Italy call up Santon and Abate for England friendly|
|Switzerland v United States: Klinsmann eyes learning curve|
|Netherlands v Spain: Hiddink has players´ support, says Wijnaldum|
|A-League Review: Sydney end Wellington run, Adelaide suffer injury blows in Jets win|
|Henderson eyes long-term Liverpool future|
|I have nothing to prove - Bale|
|Brazil 1-0 Chile: Firmino gives Selecao battling victory|
|South Korea v New Zealand: All Whites looking to future|
|Japan v Uzbekistan: Hosts eye another win under Halilhodzic|
|MLS Review: Kaka nets in Orlando draw|
|Mexico 1 Ecuador 0: Hernandez, Corona help Herrera´s men to victory|
|Deschamps calls for France response|
|Dunga unfazed by pressure|
|Montenegro fan turns himself in after flare incident|
|Injured Messi not ready - Martino|
|Hodgson: Rooney not close to Charlton|
|Terim proud of Turkey|
|Hiddink happy with point|
|Euro 2016 Qualifying Review: Netherlands and Italy stage late escapes|
|Debutant Eder delighted with Azzurri bow|
|Argentina 2 El Salvador 0: Mancuello nets debut goal in straightforward win|
|Kovac not satisfied despite Croatia victory|
|Netherlands 1 Turkey 1: Huntelaar spares Hiddink from historic home loss|
|Ghana 1 Senegal 2: Konate brace downs Black Stars|
|Bulgaria 2 Italy 2: Controversial debutant Eder rescues Conte´s men|
|Morocco 0 Uruguay 1: Cavani spot-kick seals win|
|Al Sadd say talks with Xavi ongoing|
|McClean slams Sunderland´s handling of poppy controversy|
|Ghana 1-2 Senegal: Black Stars continue Afcon hangover|
|Cheltenham player diagnosed with cancer|
|Palace takeover talk premature - Parish|
|Odegaard becomes Euro qualifiers´ youngest starter|
|Job not done yet, Bale warns Wales|
|Israel 0 Wales 3: Brilliant Bale bags brace as Wales go top|
|Dunga backs Neymar to overhaul Pele´s Brazil goal record|
|League Two Review: Hartlepool climb out of drop zone, Cheltenham go bottom|
|El Salvador 0-2 Argentina: Martino's men triumph without Messi|
|League One Review: Canavan leaves it late to deny County|
|Freddy Adu signs with 11th team in as many years|
|Besiktas deny Cech, Danny rumours|
|Puerto Rico v Canada: Haber targets more momentum|
|Miranda not contemplating Atletico exit|
|Austin relaxed over England prospects|
|Manchester United should sign Ibrahimovic - Schmeichel|
|Ibe eyes Liverpool run-in|
|Bertrand called up by England as withdrawal of four players confirmed|
|A-League Review: Risdon nets stunner, Germano tames Roar|
|Panama v Costa Rica: Unbeaten run a secondary concern for Wanchope|
|Italy coach Conte shaken after death threats - FIGC chief|
|Barca fears over Alba eased|
|Schweinsteiger to start Germany qualifier|
|Akinfeev thanks fans after flare incident|
|Injuries offer Kane chance of first England start|
|Russian Football Union to protest following Montenegro abandonment|
|October comeback the target for injured Foster|
|Van der Vaart looks set to leave Hamburg|
|Bale focused on Wales - Coleman|
|Kluivert helps Curacao to victory|
|Hamstrung Alba returns to Barcelona|
|Macedonia v Australia: Confident visitors eye victory|
|Akinfeev to return to Moscow with Russia squad|
|Brnovic: Montenegro have no chance of qualifying|
|Russia had to resume after Akinfeev incident - Capello|
|Terim: Robben absence important|
|Brazil - Chile Preview: Winning is 'our only option' - Dunga|
|France - Denmark Preview: Olsen hits out at 'disrespectful' hosts|
|Morata keen to keep working|
|Canada 1 Guatemala 0: Haber heads Floro´s men to win|
|Difficult to find a place for Kane in starting XI - Hodgson|
|Difficult to find a place for Kane in starting XI - Hodgson|