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'
|Last season for Montpellier owner Nicollin|
|Monaco: Rodriguez deal too good to ignore|
|Nacional Asuncion 2 Defensor Sporting 0: Hosts surge towards Libertadores final|
|Garcia eyeing Serie A title|
|Father against Vlasic´s move abroad|
|Rodgers welcomes Gerrard´s international retirement|
|Cruzeiro, Atletico Mineiro bid for Robinho|
|Inzaghi not drawn into Balotelli speculation|
|Dunga ´not going to sell a dream´|
|City´s Fofana allegedly racially abused|
|Carroll ruled out of NZ friendlies|
|Rodgers excited by new arrivals|
|Zeljeznicar 2 Metalurg Skopje 2 (agg 2-2): Visitors advance on away goals|
|Gibson returns as Tranmere hold Everton|
|UEFA Champions League Review: Celtic coast through, BATE given scare|
|Gomez and Jones feature in Sunderland win|
|Leicester hit Ilkeston for six|
|Austin fires QPR to narrow victory|
|Guardiola: No trophies and I may be sacked|
|Dortmund held as Immobile makes debut|
|Rodriguez´s dream becomes Real|
|Garcia: Benatia and Ljajic going nowhere|
|Stoke secure Bojan on four-year deal|
|FA: No World Cup bids for England|
|Kroos commits to Bremen|
|Caulker makes QPR move|
|Forest agree Hunt loan deal with Palace|
|Bartra ready to prove himself at Barca|
|Southampton looking to sell Osvaldo|
|Marveaux loaned to Guingamp|
|Mourinho eyes success on two fronts|
|Sammer encouraged by Lewandowski start|
|PSG punished for abuse of Chelsea fans|
|Dunga unveiled as Brazil coach|
|Shakhtar CEO: Focus is on players´ safety|
|Foster agrees new West Brom deal|
|Real Madrid sign Rodriguez|
|Mustafi eyes Bundesliga switch|
|Klopp laughs off Hummels, Reus speculation|
|Campana makes Sampdoria switch|
|Leicester seal Ulloa deal|
|Morata sidelined for seven weeks with knee injury|
|Riviere on target in comfortable Newcastle win|
|Advocaat set for Serbia role|
|Wisdom joins West Brom on loan|
|Bundesliga to consider vanishing foam|
|Five-man shortlist for Ivory Coast|
|´Personal issues´ keep Gervinho away from Roma tour|
|Jedinak raring to go|
|Borini set for Liverpool stay, claims agent|
|Koeman: No bids for Lovren|
|Livermore: England hopes shouldn´t hinge on club side|
|MLS Preview: Tough tests for Conference leaders, Revolution still struggling|
|Mathieu not Barca material, says Marquez|
|West Brom claim unimpressive win in Sacramento|
|Neymar: Brazil behind Germany, Spain|
|Vietnamese police confirm match-fixing players|
|Lucescu blames Joorabchian for AWOL players|
|Robinho undecided on future|
|Rush: Still years left in Gerrard|
|Tiago re-signs with Atletico|
|Puyol against Spain overhaul|
|Agger considering his Liverpool future|
|Peruvian Primera Division Review: Juan Aurich bounce back, Melgar draw with Inti Gas|
|Bayern deny interest in Cuadrado|
|New signings on show in Hull double-header|
|Hooiveld strike sinks Swindon|
|Costa departs Valencia|
|Morata suffers knee injury in training|
|K.League Preview: Seoul, Sangju aim to close gap to sixth, Ulsan host Jeonbuk|
|Lewandowski off the mark on Bayern bow|
|Gerrard retirement will boost Liverpool - Carragher|
|World Cup bidding report due in September|
|Evra bids emotional farewell to United fans|
|J.League Preview: Ventforet Kofu look to escape drop zone, Sagan Tosu battle Kawasaki Frontale|
|Salah spared military service|
|Garcia would welcome Torres return|
|Livermore understands Ince decision|
|Cole happy to get away from English press|
|Evra seals Juve switch|
|Bayern stay was Kroos´ ´priority´|
|Scuffet: Udinese right place to continue developing|
|Gerrard retires from England duty|
|Ambitious Pochettino targets title|
|Aspas eager to put ´bad season´ behind him|
|Atletico Mineiro v Lanus: Visitors out to recover from first-leg loss|
|UEFA Europa League Preview: Sligo, Inter Baku out to finish shocks|
|Hughes expects Bojan decision soon|
|Cech on the mend - Holland|
|Pardew eager to honour crash victims|
|Prandelli hits back at critics|
|Negredo breaks metatarsal|
|Rooney eager to impress Van Gaal|
|Palacios´ Qatar move falls through|
|Wenger rules out striker signing|
|Six Shakhtar players refuse to return|
|Six Vietnamese footballers arrested for match fixing|
|Copa Libertadores Preview: Nacional Asuncion, San Lorenzo to host first legs|
|Mata hopeful of title|
|Napoli bullish about Scudetto chances|
|Colombian Primera A Review: Patriotas Boyaca, Deportes Tolima start with wins|
|Subotic thrilled to be back|
|Germain: Monaco can replace Rodriguez|
|Sullivan confident of Carroll improvement|
|Callejon staying put|
|DC United 3 Chivas USA 1: DC end Chivas´ winning run|
|Liga MX Review: Goalkeeping howler costs champions Leon, Monterrey move top|
|Chilean Primera Division Review: Huachipato, Santiago Wanderers opening-day winners|
|Brazilian Serie A Review: Internacional rout Flamengo, Cruzeiro win again|
|Prosinecki keen on South Korea job|