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'
|Honduras 1 South Africa 1: Khune stars as Bafana hold on|
|Paraguay 0 Argentina 0: Martino´s men frustrated in Asuncion|
|Canada 1 Ghana 1: Floro plays six debutants in draw|
|Uruguay 3 Colombia 0: Godin stars as hosts stay perfect|
|United States 0 Costa Rica 1: Klinsmann´s men beaten again|
|Terim lauds Turkey success|
|United States 0-1 Costa Rica: Joel Campbell nets winner|
|Euro 2016 Qualifying: As it finished|
|Bazdarevic lauds Bosnia-Herzegovina courage|
|Hogmo upset as Norway miss out on automatic qualification|
|Srna: We are heroes after Euro 2016 qualification|
|Ecuador 2 Bolivia 0: Late double settles sodden encounter|
|Blind backed to stay on by KNVB director|
|Coleman urges Wales to ´do something special´ at Euro 2016|
|Blind wants to remain Netherlands coach after Euro 2016 qualifying heartbreak|
|Kompany proud to lead Belgium to the top of the world|
|Euro 2016 Qualifying Review: Turkey seal dramatic qualification as Croatia edge through to France|
|Conte praises Italy´s grit and intensity|
|Sneijder: Blind not to blame|
|CAF World Cup Qualifying Review: Niger thump Somalia|
|Motherwell bring back McGhee as manager|
|Wales 2 Andorra 0: Ramsey and Bale see off stubborn minnows in Cardiff|
|Belgium 3 Israel 1: Mertens, De Bruyne and Hazard seal top spot|
|Italy 2 Norway 1: Comeback denies Hogmo´s men automatic qualification|
|Netherlands 2 Czech Republic 3: Dutch miss out on play-off spot|
|AFC World Cup Qualifying Review: Jordan extend lead over Australia|
|Ex-UEFA chief Johansson denies knowledge of Blatter-Platini payment|
|Injured Aguero returns to Manchester|
|Blanc casts doubt on Ibrahimovic´s PSG future|
|Alexandre Pato will cost €25m - Corinthians executive|
|Allardyce opens to door to possible Nolan swoop|
|Mertesacker: Chambers destined to become one of the best|
|Evra still upset over Manchester United exit|
|Cardona reminds me of James - Pekerman|
|Monchengladbach hit by Xhaka, Schulz injuries|
|Bebe looking to win big move with Rayo form|
|McClaren laments Newcastle´s Krul blow|
|Suarez: Barcelona lack last season´s punch|
|Iran 1 Japan 1: Muto strike cancels out Torabi opener|
|Paraguay 0-0 Argentina: Martino's men continue without victory in World Cup qualifiers|
|Baptistao eyes Europa League success with Villarreal|
|Ronaldo: Brazil will face more difficulties|
|Tottenham have out-run everyone, Kane warns Liverpool|
|Welbeck certain Rooney´s goal drought will end|
|Payet slams ´unjust´ France snub|
|Bayern confirm Coman injury not serious|
|Fabregas: Spain want third consecutive European title|
|South Korea 3 Jamaica 0: Ki on target in confident victory|
|´Exceptional´ Ronaldo can win another Golden Shoe - Perez|
|Cristiano Ronaldo: I now want fifth Golden Shoe|
|Allardyce demands defensive improvement at Sunderland|
|Darmian: Joining Manchester United an easy decision|
|Wenger criticism is unfair - Welbeck|
|Hulk urges Brazil to win back fans|
|Vidal puts his career at risk for Chile, says Medel|
|Of course I want new Barcelona deal - Neymar|
|Di Natale backs Balotelli to lead Italy at Euro 2016|
|De Gea: I´m better than ever before|
|Butland fires warning to Hart|
|Allardyce: I love winding up ´arrogant´ Wenger|
|Arsenal´s lack of success could see them miss out on Kokorin - agent|
|Welbeck targets January return for Arsenal|
|Rakitic: We´ll win for Modric|
|Ballon d´Or is reserved for Messi - Neymar|
|Dortmund dismiss Aubameyang exit talk|
|Perisic ´decisive like Robben´ - Suker|
|Ferdinand: Fergie´s captaincy snub upset me|
|De Bruyne hungry for more goals|
|Dunga: Brazil are frustrated and lack reaction|
|Dani Alves: Time for Brazil to focus|
|I believed we would finish unbeaten - Hodgson|
|Del Bosque expects selection headache for Euro 2016|
|Ukraine 0 Spain 1: Hundred-cap Fabregas falters from the spot|
|Lithuania 0 England 3: Hodgson´s men make it a perfect 10|
|Fabregas reaches 100 Spain caps|
|Excited Conte targets top-four Euro 2016 showing|
|Spain pair Casillas and De Gea show the way for Rico|
|Liverpool not title candidates under Klopp - Barnes|
|Manchester United important to Northern Ireland success|
|Tevez cannot operate like Messi - Martino|
|Pele questions Brazil unity after qualifying loss|
|Ancelotti: Roma have the most quality in Serie A|
|Ghana v Canada: Hoilett desperate for international debut|
|Cruyff: Netherlands painful to watch|
|´No hatred´ between Bale and Ronaldo, claims Wales star´s agent|
|Mexico v Panama: Ferretti prepares for farewell|
|Wright signs new deal to end Dundee United speculation|
|Real Madrid are not making Bale demands, insists Coleman|
|Toure, Aubameyang and Salah lead CAF Player of the Year nominations|
|Neuer, De Gea the Messi and Ronaldo of goalkeeping - Ferguson|
|Sakho slams PSG over Coman treatment|
|Former FIFA Executive Committee member Makudi suspended|
|Mancini: It´s time for Inter to beat Juventus again|
|Blind talks down Depay, Van Persie row claims|
|Van Persie: Vieira inspired me to be strong mentally|
|Klopp will not ruin his reputation by raiding Dortmund - Rauball|
|Wolfsburg confirm Embolo interest|
|Sigurdsson looked up to Beckham, Lampard|
|Uruguay still a threat without Cavani and Suarez - Arias|
|PSG better than Bayern - Zidane|
|Allardyce: I deserved the England job in 2006|
|Baker: I will return to Chelsea a better player|
|I have no contact with Luis Enrique - Barca B captain Grimaldo|
|Carlo Ancelotti wants Premier League return|
|Klopp: I won´t poach Dortmund players|
|Xavi: I would have liked to play for Manchester United|
|Ronaldo´s success largely down to Benzema - Ancelotti|
|Willian ignoring his Brazil critics|
|Messi rivalry spurs on Ronaldo - Zidane|
|Paraguay v Argentina: Tevez calls for change in attitude|
|Uruguay v Colombia: Cardona ready for battle in Montevideo|
|Klopp needs time and money - Hitzlsperger|
|United States v Costa Rica: Under-fire Klinsmann standing firm|
|Giroud satisfied with France contribution|
|Hodgson rejects easy cap claims|
|Honduras v South Africa: Mashaba´s men want consistency|
|Spain to play Belgium in November friendly|
|Lallana ´very excited´ by Klopp arrival|
|Santos: Serbia deserved to finish second|
|Iordanescu: Romania should´ve qualified earlier|
|De Biasi revels in Albania´s historic Euro 2016 berth|
|Reus misses sum up Germany´s problems - Low|
|Krul ´devastated´ after being ruled out for season|
|Lewandowski insists Poland fully deserve Euro 2016 spot|
|Deschamps urges France players to give him selection headaches|
|Hummels: Germany must seize attacking opportunities|