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'
|Hill backs Ramsey for QPR job|
|Ancelotti confident of Real revival|
|Allegri rues late Llorente miss in Juve triumph|
|Juve sent a warning - Pirlo|
|Inverness Caledonian Thistle 2 Dundee United 1: Ofere and Williams keep European dream alive|
|Juventus 2 Real Madrid 1: Spot-on Tevez earns first-leg lead|
|Sturridge hip surgery a success|
|Coloccini calls for unity as Newcastle target survival|
|Doumbia cleared to make Milan trip|
|Harper calls for Hull unity|
|Guardiola not distracted by Barca homecoming|
|No defence can stop Barca star Messi - Guardiola|
|Neuer ready to face Barca strike trio|
|Napoli v Dnipro: Benitez seeks to make experience count|
|Jones ready for United return|
|Injury rules Oscar out of Brazil´s Copa squad|
|Mazinho proud ahead of Barca v Bayern contest|
|Sevilla v Fiorentina: Kolodziejczak confident ahead of semi-final test|
|Skipper Soriano set for Villarreal return|
|Martinez wary of Pienaar risk|
|AFC Champions League Review: Holders Western Sydney out due to last-gasp Seoul winner|
|Barca focused ahead of Pep return - Luis Enrique|
|Messi has ´no problem´ with Luis Enrique|
|Relegated Tranmere appoint Brabin|
|Ujah agrees Werder transfer|
|Magath backs Guardiola to remain at Bayern|
|Mathieu out of Bayern clash|
|Burnley appeal Duff dismissal|
|Setif drawn in Algeria-heavy Champions League group|
|Terry calls for new Drogba deal|
|Saul agrees bumper Atletico deal|
|Arsenal need to finish season strongly - Wenger|
|New Bilbao deal for Gurpegi|
|Pepe puts Morata friendship aside for Champions League match-up|
|Terry: Too long between titles|
|Hazard can be as good as Messi, Ronaldo - Fabregas|
|Carlisle ´deeply ashamed´ about suicide attempt|
|Tevez planning to win Champions League with Juve|
|Blatter ´knows absolutely nothing´ - Maradona|
|Allegri: Ancelotti a smart man|
|Sunderland academy coach to manage Oldham|
|Primeira Liga Review: Braga secure Europa League berth|
|Bruce backing Hull to respond against Burnley|
|Almeria 2 Celta Vigo 2: Bifouma, Zongo inspire hosts´ comeback|
|Arsenal can mount title bid - Wenger|
|Turkish Super Lig Review: Besiktas and Galatasaray remain locked at the top|
|Cagliari 4 Parma 0: Festa revival back in gear|
|Hull City 1 Arsenal 3: Sanchez at the double as visitors close on second|
|Blackpool - Huddersfield game will not be finished|
|Allegri vindicated by Juventus success|
|Russian Premier League Review: Krasnodar close the gap as Zenit slip up|
|Al Ahly dismiss Garrido|
|MLS Preview: Kinnear returns to Dynamo with Earthquakes|
|Ancelotti all out for victory against Juventus|
|Ramires recovering well after sickness|
|Prince Ali would back rival FIFA candidate to oust Blatter|
|Barcelona v Bayern Munich: Guardiola makes Camp Nou return|
|Kruse a target for Wolfsburg - Allofs|
|Fletcher backing Bournemouth to ´surprise a few´|
|Bremen agree deal with Fritz|
|Carver gets Newcastle backing|
|Blaszczykowski suffers groin tear|
|Boateng warns of Barca ´storm´|
|Brouwers agrees Gladbach extension|
|Benzema to miss Turin trip|
|England great Jimmy Greaves suffers stroke|
|Cabaye concerned by bit-part role at PSG|
|Parry: Anfield expansion a major boost|
|Ki targets Arsenal win and seventh spot|
|Pirlo eyes potential Champions League swansong|
|Mourinho rounds on critics after clinching title|
|Henderson: Liverpool can push on without Gerrard|
|Lack of goals a concern for Van Gaal|
|Hard to keep Benteke - Bacuna|
|MLS Review: Sporting KC end Chicago streak, Martins brace furthers NYC pain|
|Copa Libertadores Preview: River eye revenge in Superclasico|
|Garcia lauds ´impressive´ Roma|
|Pavon goal scores him a BMW for a month|
|Boca beat River in Superclasico|
|Inzaghi to blood youth after third straight Milan defeat|
|Blanc urges PSG to ´remain vigilant´|