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'
|Better at Old Trafford, prolific against Arsenal - Rooney´s record in Opta numbers|
|Rooney: Record means a hell of a lot but I´m still disappointed|
|Fener free-kick to derby delight - Rooney´s top 10 Manchester United goals|
|Rooney merits place in history, forget the present and future struggles|
|Crystal Palace 0 Everton 1: Coleman late-show extends Allardyce´s losing run|
|Real Madrid 2 Malaga 1: Ramos double gets leaders back on track|
|Stoke City 1 Manchester United 1: Record-breaking Rooney snatches draw|
|West Brom 2 Sunderland 0: Baggies inflict more misery on Moyes´ men|
|Bournemouth 2 Watford 2: Hosts come from behind twice|
|Middlesbrough 1 West Ham 3: Rejuvenated Carroll makes the difference|
|Rooney becomes Manchester United´s all-time top goalscorer|
|Werder Bremen 1 Borussia Dortmund 2: Piszczek winner denies fightback|
|Cameroon v Gabon: Hosts look to avoid early exit|
|Swansea worthy winners at Anfield - Clement|
|Rummenigge defends Guardiola: Manchester City simply not as good as Bayern|
|Swansea had perfect gameplan, says match-winner Sigurdsson|
|Klopp baffled by sloppy Liverpool|
|Henry: Arsenal don´t need Payet – they have Iwobi|
|Allegri: Juventus have not lost their quality all of a sudden|
|Liverpool 2 Swansea City 3: Llorente and Sigurdsson stun Anfield|
|Nainggolan as valuable as Pogba - Spalletti|
|Atletico criticism excites Simeone|
|Luis Enrique worried about Eibar´s pitch|
|Januzaj: Pogba wants me back at Manchester United|
|There is nobody like him – Luis Enrique rues Iniesta absence|
|Mourinho: United need De Gea and Romero to stay|
|Chiellini: Sixth successive title would make Juventus players legends|
|A-League Review: Taggart fires Perth to glory|
|Balotelli furious after alleged racial abuse at Bastia|
|Tottenham stronger than previous seasons - Eriksen|
|Wenger prepared for 17 cup finals to overhaul Chelsea|
|Maldini: Donnarumma can emulate my Milan success|
|Klopp urges Liverpool to enjoy title race|
|Shaw going through ´difficult period´ - Mourinho|
|Klopp not worried by Sturridge, Origi form|
|De Gea backs ´amazing´ Pogba|
|Pochettino: Tottenham bigger than City|
|Conte: I trust Diego Costa 100 per cent|
|Lewandowski admits he was lucky for Bayern winner|
|City as sharp as Barca and Bayern but lacking consistency, says Guardiola|
|Nice go top but struggles continue in draw with 10-man Bastia|
|AC Milan pull Deulofeu Tweet amid reports deal not yet complete|
|New Manchester City deal for Aguero but little fanfare|
|Matip gets all clear from FIFA to play for Liverpool after Cameroon row|
|Freiburg 1 Bayern Munich 2: Lewandowski to the rescue with late winner|
|Fonte completes £8million West Ham switch|
|Morocco 3 Togo 1: Renard´s men back on track with comeback victory|
|Stoke complete £12million Berahino signing|
|Egypt v Uganda: Pressure on Pharaohs to kickstart campaign|
|Aspas responds to alleged Ramos spit|
|Stoke agree Berahino deal with West Brom|
|AC Milan complete Deulofeu loan signing|
|Gerrard returns to Liverpool as academy coach|
|Ivory Coast 2 DR Congo 2: Serey Die rescues point but holders still in trouble|
|Di Maria committed to PSG amid reported CSL interest|
|Sanchez a role model - Xhaka|
|Tuchel trusts Schurrle to fill Aubameyang void|
|Ghana v Mali: Rahman injury poses a problem for Grant|
|Depay not holding Manchester United grudge|
|I love watching them - Guardiola a huge fan of Pochettino and Tottenham|
|Klopp: I could kick Mane in the... lower back|
|Conte: Ake is ready to help Chelsea´s title bid|
|Allardyce provides Evra, Van Aanholt and Jenknson updates|
|Guardiola looks beyond beleaguered Bravo for City woes|
|Begovic could leave Chelsea - Conte|
|PSG still on the hunt for striker, says Emery|
|Mourinho: Valencia the best right-back in football|
|Mourinho on Young to China talk: He hasn´t told me anything!|
|Costa wants to stay at Chelsea, reveals Conte|
|´I played worse sometimes´ - Zidane defends Ronaldo from critics|
|Injured Iniesta to miss Eibar clash|
|Mourinho open to Depay return|
|Lyon confirm Depay arrival|
|Germany to bid for Euro 2024|
|Sydney FC 2 Adelaide United 0: Two goals in three minutes extend lead|
|Depay could face Marseille as Lyon boss Genesio hails winger´s ´big motivation´|
|Hull loan Elabdellaoui from Olympiacos|
|AC Milan make final offer for Deulofeu|
|Hughes ´wouldn´t encourage´ Bojan bids|
|Worker dies at World Cup stadium in Qatar|
|West Brom sign Livermore|
|Lyon president Aulas: Depay deal imminent|
|Aubameyang: I could leave Dortmund, but I´d never join Bayern|
|´Equating Messi with anyone else is like comparing a policeman with Batman´ - Sampaoli|
|It will take years to build football culture, Wenger warns CSL|
|´Worried´ Rakitic wants Barca renewal|
|Inter not signing Messi - Moratti|
|Luis Enrique hails Barca defence after ending Anoeta curse|
|´He is made of different stuff´ - Spalletti hails Nainggolan after wondergoal|
|Tottenham´s Janssen turned down Galatasaray move, agent claims|
|Did Carroll´s wondergoal give the West Ham striker whiplash?|
|Iniesta suffers calf injury|
|Swansea situation not ´hopeless´, says Clement|
|Real Sociedad 0 Barcelona 1: Neymar ends Anoeta curse|
|´Immeasurable bulls**t´ - Ligue 1 coach destroys Van Basten´s offside plan|
|Simeone praises Atletico´s precision in Copa Del Rey win|
|Fonte situation difficult for Southampton - Puel|
|´Some of the best football in the UK´ - Watford´s Mazzarri hails Bournemouth|
|Senegal 2 Zimbabwe 0: Cisse´s men charge into quarter-finals|
|Rivaldo backs Luis Enrique to deliver more Barca success|
|Atletico Madrid 3 Eibar 0: Routine win earns quarter-final lead|
|Jesus will make Premier League history - Rivaldo|
|Adebayor: Arsenal are just Ozil and Sanchez|
|Algeria 1 Tunisia 2: Favourites on brink of elimination|
|Bayern keen to seal Coman deal as Rummenigge cools Gnabry interest|
|Pochettino has done his homework on Jesus as Spurs look to march on|
|Scrap offside? Premier League managers give Van Basten´s plans a cool reception|
|Coman ready for Bayern comeback, confirms Ancelotti|
|Pochettino upbeat despite six weeks out for Vertonghen, Lamela still a mystery|
|Cerezo defiant over Griezmann amid talk of Manchester United agreement|
|Robinho named in Brazil squad for Chapecoense fundraiser|
|Davies and Lookman aren´t the big men of Everton, warns Koeman|
|Ivory Coast v DR Congo: Dussyer demands champions show true strength|
|Replacing Robben and Ribery not easy - Hitzfeld|
|Yeray back in Athletic training after successful cancer surgery|
|Karanka targeting more Boro deals after Bamford swoop|
|Cavani: I am the ultimate finisher|
|Morocco v Togo: El Ahmadi hungry for success|
|Ancelotti denies Verratti approach|
|A-League Review: Cahill double sees Melbourne City sink Mariners|
|Manchester United very happy with Shaw, insists agent|
|Mertesacker extends Arsenal deal|
|Boost for Arsenal as key quartet returns to training|
|Will Jesus save Manchester City´s title bid? Guardiola´s new striker in Opta numbers|
|Tevez mobbed after touching down in Shanghai|
|Payet exit not inevitable - Bilic|
|Wenger: Arsenal don´t need Payet|
|Jesus wants Manchester City titles|
|Orsolini arrives for Juventus medical|
|Rivaldo backs Coutinho to join Neymar at Barcelona|
|No danger of Messi leaving Barcelona, says father|
|Augusto: I convinced Oscar to come to China|
|Madrid-bound Maradona visits Napoli training|
|Sevilla in no rush over Sampaoli talks despite Barcelona links|
|Cafu: Resurgent Brazil can challenge world´s best|
|Klopp thrilled with Coutinho|
|Manchester United replace Real Madrid as world´s richest club|
|Madrid squad annoyed by defeats - Zidane wants more energy after latest loss|
|Casemiro rues more misery for Madrid against Celta|
|´Job done, let´s go home´ - Klopp happy to avoid extra time with narrow Plymouth win|