West Ham booked a place in the League Cup fourth round as Sam Allardyce marked his 100th game in charge with a 3-2 win over Cardiff City.
A goal after just 19 seconds from Ravel Morrison set the Londoners on their way to victory over their Premier League rivals at Upton Park.
Matt Jarvis had a hand in that opener and scored a second himself seven minutes later after Morrison and Ricardo Vaz Te had returned the favour.
Craig Noone pulled one back with a wonder strike just prior to the break before Peter Odemwingie – on his full debut – looked to have sent the game to extra time with a 76th-minute equaliser.
However, with two minutes left the hosts snatched the win when Jack Collison produced a superb cross and Vaz Te applied the finish.
With both managers clearly prioritising Premier League points, there were a raft of changes.
West Ham retained just four starters from the weekend defeat to Everton, with Vaz Te and Collison among those given a chance to shine.
Cardiff boss Malky Mackay, meanwhile, named an entirely fresh starting XI from the 1-0 defeat against Tottenham, with Odemwingie handed his full debut.
Straight from the kick-off the visitors found themselves chasing the game as Jarvis burst forward and steered the ball into path of Morrison, who reacted smartly to lash home the opener.
And seven minutes later things got even better for the hosts, when Morrison combined with Vaz Te to find Jarvis on the left of the box and he drilled in, with the help of a deflection.
Cardiff were rocking and before the break the game could have been all but over, as first Modibo Maiga robbed Mark Hudson and shot wide of the far post after 18 minutes before Collison's downward header 13 minutes from the interval was hacked away virtually on the line.
But Noone gave them hope on the stroke of half-time when he cut inside and arrowed a superb effort into the top corner.
Having barely troubled the home defence prior to that strike, Cardiff came out with plenty of purpose after the break, although they were thankful to goalkeeper Joe Lewis for keeping them in touch just after the hour mark when he tipped Collison's shot over crossbar.
Lewis was called into action again soon after when Jarvis got to the byline and cut the ball back, but with Vaz Te ready to pounce the shotstopper turned the ball away for corner.
West Ham were made to pay for those wasted opportunities after 76 minutes as Odemwingie made his mark in style.
Noone was the architect when he was allowed to run unopposed at the home defence and when he beat two men and squared across the box, the former West Brom man Odemwingie was on hand to score the equaliser.
But, just as the game appeared to be heading for extra time, Vaz Te had the final say – Collison producing a glorious cross into the box that was finished emphatically.
|12||Ricardo Vaz Té||87'|
|Coach: S. Allardyce|
for M. Maïga 46'
for R. Morrison 58'
for G. McCartney 82'
|Brannagan open to Championship loan move|
|Wenger wants to sign Mertesacker replacement|
|Ancelotti: Bayern´s transfer business done|
|Brisbane Roar sign former Danish international Kristensen|
|Verratti, Luiz missing for PSG|
|Sounders part ways with foundation coach Schmid|
|Mane turned down Manchester United for Liverpool|
|Zidane on Pogba: Until August 31, anything can happen|
|Mkhitaryan driven by father´s death|
|Inter rejected Napoli offer for Icardi, says president|
|Clichy: City fighting fit after Guardiola pizza ban|
|Everton and Burnley win as Hull are held|
|Ajax held by PAOK after Cillessen howler|
|Conte left frustrated by ´crazy´ money in transfer market|
|Neymar makes Barcelona case to Gabriel Jesus|
|Rostov comeback twice for Champions League draw with Anderlecht.|
|Arsenal defender Mertesacker set for lengthy lay-off|
|Conte not selling ´fantastic´ Matic|
|Ibrahimovic keen on MLS and Beckham´s Miami project|
|Neymar: I play for Messi, he´s the man|
|Barcelona reveal details of Andre Gomes deal|
|Suarez bullish over Barcelona prospects|
|Ajax claim Napoli keen on Milik to replace Higuain|
|Totti labels Higuain´s Juventus move ´a disaster´|
|Juventus confirm Higuain deal|
|Pato to Villarreal ´in the final stage´|
|PSG sign Lo Celso|
|Muller: Beating Dortmund will be more fun this season|
|Juventus sign Higuain from Napoli for €90m|
|Pastore: I´m like God in Paris|
|Injured Lanzini out of Olympics|
|Allegri unperturbed by Higuain fee|
|Menezes replaces Bento at Cruzeiro|
|Sporting rejected major bids from Inter and Liverpool for Joao Mario, claims father|
|Pochettino pleased by Tottenham despite Juventus defeat|
|Eriksson: Allardyce the right man for England|
|Mourinho makes United train after stepping off plane from China|
|Hazard can still match Messi, says Pedro|
|Pjanic shows there is life at Juve, with or without Pogba|
|Juventus 2 Tottenham 1: Benatia bags win for Serie A champions|
|Dembele: I am not the Bundesliga´s next superstar|
|Lyon claim €35m Arsenal offer for Lacazette rejected|
|Donnarumma dreaming of Milan captaincy as he eyes long-term stay|
|Robson: Ibrahimovic can match Van Persie´s first year at United|
|Rooney should remain England captain - Eriksson|
|Emery wants new striker at PSG|
|Santos accept Juventus bid for Gabriel|
|Eriksson expects Sweden to try and tempt Ibrahimovic out of retirement|
|Spurs signing Janssen almost quit|
|Leicester stay best for Mahrez - Ranieri|
|Allardyce to take Mourinho cue on Rooney|
|Ings ready to outdo big-money signings|
|Henderson optimistic over Liverpool campaign|
|Allardyce hardened to the challenge of England post|
|Barcelona announce record revenues for 2015-16|
|Moyes enjoys Sunderland win as Palace beat Colchester|
|Stoke complete Allen signing|
|Roma coach Spalletti warns suitors off Manolas|
|Cresswell out for up to four months with knee injury|
|Burnley fan banned by club for racist abuse|
|Dad won´t let me play at the Olympics - Larsson Sr pulls rank|
|Kostic joins Hamburg on five-year deal|
|Tevez: I´d turn down Chelsea and Napoli to stay at Boca|
|Mayoral inspired by Benzema for Wolfsburg stint|
|Allardyce straight into competitive action with England|
|Liverpool, Sevilla fined for Europa League final incidents|
|Barcelona seal Guillemenot signing as part of new Servette deal|
|Niersbach handed one-year ban over World Cup corruption|
|Chelsea and Everton ´still interested´ as Koulibaly eyes Napoli exit|
|´Still working hard´ - Balotelli trains with Liverpool kids|
|Winter breaks, long-ball football and the World Cup: Allardyce in his own words|
|Inter warn Napoli Icardi is not for sale|
|Zanetti wants Simeone back at Inter|
|Stoke snap up Sobhi|
|PSG tougher under Emery - Lucas Moura|
|Totti not ready for retirement - Pallotta|
|Confident Allardyce reveals plan for England success|
|Pochettino to discard three Tottenham players|
|Allardyce: Rooney must wait for captaincy decision|
|Aubameyang: I will only leave Dortmund for Real Madrid|
|Allegri silences questions on Pogba|
|Bruce stands by decision to quit Hull City|
|Pochettino: Not the right time for Argentina job|
|Inter yet to approach De Boer with Mancini exit rumoured|
|Ancelotti trusts me more than Guardiola - Ribery|
|Wijnaldum rejected Everton for Klopp|
|Pre-season Manchester derby cancelled|
|Coutinho excited by ´fast´ Liverpool recruits|
|Cristiano Ronaldo and Conor McGregor step into the ring together|
|Mancini coy on reports linking Icardi to Napoli|
|Nolito reveals why he chose Man City over Barcelona|
|Inter 1 Paris Saint-Germain 3: Icardi absence in defeat fuels Napoli talk|