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'
|Cagliari earn promotion to Serie A|
|Pochettino: Support for Leicester not right|
|I hope Fellaini never plays in the Premier League again - Carragher|
|Van Gaal: United cannot afford another loss|
|Pellegrini wants Premier League stay|
|Ranieri will ´throttle´ players if they show up unprepared for Everton|
|Racing sack goalkeeping coach Gambande after racist gesture|
|Inverness CT 2 Dundee United 3: Murray nets twice to end losing streak|
|Dinamo Bucharest midfielder Ekeng dies aged 26|
|Hiddink: Hazard must play like an amateur to match Messi and Ronaldo|
|Pellegrini: Missing out on Champions League ´disastrous´|
|Verratti ruled out of Euro 2016|
|Levante v Atletico Madrid: Simeone´s men on the brink of history|
|Dembele wants Dortmund move, claims Watzke|
|Verona v Juventus: Asamoah wants to keep pushing|
|Barcelona v Espanyol: Alba insists champions do not fear another ´Tamudazo´|
|Mancini calls hoax over PSG links|
|Tremoulinas ruled out of Europa League final|
|Ben Arfa in talks with Barcelona|
|Allegri signs new Juventus deal|
|Dembele banned for six matches|
|Liverpool v Watford: Klopp hoping for Anfield boost|
|Khedira doubtful for Coppa Italia final|
|Verratti Euro hopes threatened by groin injury|
|Tottenham v Southampton: Pochettino eager to stay above Arsenal|
|No West Ham bid for Batshuayi - Bilic|
|Real Madrid v Valencia: Champions League finalists resume Liga title bid|
|Manchester City v Arsenal: Wenger eyes vital win at Eastlands|
|Fosu-Mensah gets Netherlands call|
|Million-mile-an-hour Milan want Europa League spot, insists Brocchi|
|Courtois happy at Chelsea - Hiddink|
|Flores set for crunch talks over Watford future|
|Tottenham no soft touch now, says Pochettino|
|City waiting to discover extent of latest Kompany woes|
|Derby flare-ups not good for the game - Hiddink|
|Blow for Germany as Gundogan ruled out of Euro 2016|
|Dembele accepts FA violent conduct charge|
|Klopp revels in Sturridge hitting highest level|
|Ex-FIFA officials Bedoya, Jadue banned for life|
|No qualms for Klopp over Basel Europa League final|
|Bale suffers strained knee|
|Pulis keen for extended West Brom stay|
|Guardiola: Dressing-room mole is Bayern´s problem, not mine|
|Tuchel expects ´emotionally charged´ Frankfurt test|
|Bilic warns against Manchester United distractions|
|Arteta could join City as coach or still play - Wenger|
|Can holds no fear of unknown Sevilla|
|Wenger hails ´most unexpected´ Leicester title triumph|
|Ronaldo hails Zidane´s Madrid impact|
|Oxlade-Chamberlain ruled out of Euro 2016|
|Verratti hints at career-long PSG stay|
|Sturridge ´unbelievable´ when fit - Klopp|
|Lovren: Anfield inspired Liverpool|
|Suarez congratulates Liverpool on reaching Europa League final|
|Howe already plotting for next season|
|Griezmann: Who cares if we play ugly?|
|Copa Libertadores Review: Boca, Rosario through to quarter-finals|
|Emery: Sevilla love the Europa League|
|Verratti: I always tell Ibrahimovic to stay at PSG, but he never answers!|
|Marcelino unimpressed by Klopp celebrations|
|Merson wants Koeman at Arsenal|
|´I would not like to be him for one second in my life´ - Klopp slams Marcelino|
|Allardyce: We cannot lose our cool like Tottenham|
|Rashford reminds me of me – Ronaldo|
|£170m windfall for winners of Boro-Brighton clash|
|Martinez: Leicester have not changed English football|
|Marcelino: Liverpool pushed the boundaries|
|City struggled to cope with semi-final occasion - Bale|
|Mahrez wants Leicester stay, says vice-chairman|
|Shakhtar deserved more - Lucescu|
|Klopp hails Liverpool players after ´wonderful night´|
|Sturridge all smiles after returning to lead Liverpool into final|
|Reaching the Europa League final again is a dream - Gameiro|
|Sevilla 3 Shakhtar Donetsk 1 (5-3 agg): Gameiro brace books holders´ third straight final|
|Liverpool 3 Villarreal 0 (3-1 agg): Anfield comeback sends Klopp´s men into final|
|Bologna v Milan: De Sciglio targeting European qualification|
|Leicester players ´love each other´ - vice-chairman Srivaddhanaprabha|
|Simeone rates all-Madrid Champions League final as ´50-50´|
|Eintracht Frankfurt v Borussia Dortmund: Tuchel´s men hope to extend title race|
|Crystal Palace v Stoke City: League points the priority for Pardew|
|Gray determined to prove himself at Leicester|
|Inter v Empoli: Kondogbia wants to end San Siro drought|
|Norwich City v Manchester United: Van Gaal gives United no excuses|
|Olic brands Guardiola a failure|
|Pardew seeks Leicester inspiration for FA Cup final|
|Atletico boosted by Tiago return|
|Casillas rules out Miami switch|
|Sunderland v Chelsea: Larsson eyes crucial victory|
|Dyke confirms Spurs set for Wembley stay|
|West Ham v Swansea City: Payet credits Bilic for impressive Hammers form|
|Fellaini must learn to control himself - Van Gaal|
|Kaka omitted from Brazil´s Copa America squad|
|Gazelec Ajaccio v Paris Saint-Germain: Relegation-threatened hosts eye vital win|
|Leicester City v Everton: Ranieri ready to celebrate remarkable title triumph|
|Stoke´s Joselu slams Toure and Manchester City|
|´We are the champions´ - Shaq sends musical congratulations to Northampton|
|Huth and Fellaini handed three-match bans|
|Lee set for Crystal Palace fine after Pardew remarks|
|AFC Bournemouth v West Brom: Howe feared injuries would curtail Premier League dream|
|Ranieri will not ´break´ Leicester dressing room with star names|
|Pepe: Benitez told me I was not needed|
|Ingolstadt v Bayern Munich: Title in sight for Guardiola´s men|
|Mahrez 50-50 to stay at Leicester - agent|
|Tough to emulate ´inspirational´ Leicester, warns Martinez|
|Bendtner in training at FC Copenhagen|
|Aston Villa v Newcastle United: Wijnaldum demands result to keep survival bid alive|
|Ibrahimovic could make sensational San Siro return - Raiola|
|Obertan, Marveaux released by Newcastle|
|Jovetic wants Toure, Zabaleta at Inter|
|Ramos admires Champions League final rival Simeone|
|Gotze too nice for Bayern Munich ´sharks´ - Augenthaler|
|Bale hits back at Pellegrini ´lucky´ claim|
|Jovetic desperate to earn Inter stay|
|Lucky Madrid no better than Man City - Pellegrini|
|Ferdinand slams City´s lack of desire in Champions League exit|
|Kroos: Madrid have more quality than Atletico|
|Keane: United lack character|
|Klopp: Villarreal in for tough time at Anfield|
|Copa Libertadores Review: Nacional advance to quarters, River eliminated|
|PFA chief wants Leicester stars to be honoured|
|Argentina recall Tevez for initial Copa America squad|
|Keane focused on the Republic of Ireland, not Celtic|
|Ronaldo reiterates desire for Zidane to continue as Madrid coach|
|Keane: City need to improve to win Champions League|
|Falcao left out of Colombia´s Copa America squad|
|Carragher: Sturridge must start against Villarreal|
|De La Hoya´s clanger: ´Whoever thought Leicester would win the UEFA Cup?´|
|Marotta: City asked, but it´s not time to sell Pogba|
|Marcelino wants to turn Anfield atmosphere in Villarreal´s favour|
|Marcelo calls for La Liga focus after Madrid reach Champions League final|
|Origi hopeful of returning before season´s end|
|Madrid were the better side, insists Ronaldo|
|Mangala: City should be proud of semi-final run|
|Madrid move motivated by Champions League glory, says Bale|