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'
|Matthews completes Sunderland move|
|Podolski set for Galatasaray medical|
|Gundogan inspires Dortmund victory|
|Inter confirm Montoya capture|
|Murillo joins Inter, as Kuzmanovic and Obi depart|
|Falcao signing not a risk, says former Chelsea star|
|Deeney agrees new Watford deal|
|Confidence and service the key to Falcao success at Chelsea|
|No bids for ´Chelsea target´ Baba, claim Augsburg|
|Derby swoop for Ince|
|Fiorentina consider legal action over Salah ´no-show´|
|Chelsea the team to beat in the Premier League, says Neville|
|Storari exits Juve for Cagliari|
|UEFA removes FFP restrictions on Man City and PSG|
|West Brom hope for new owners within the month|
|Chelsea agree loan deal for Falcao|
|Kuyt eyes trophies on Feyenoord return|
|Chile v Argentina: History beckons ahead of Copa America final|
|Wallace extends Monaco loan|
|Mihajlovic wants to instill fear factor at Milan|
|Mignolet improving at Liverpool - Grobbelaar|
|Mumbai City name Anelka player-manager|
|Olivia the parrot predicts Japan to win Women´s World Cup|
|Lusitans coach blasts Bilic´s ´lack of respect´|
|Sakho eyes more Europa League wins|
|Gareca wants Peru to keep building|
|Chile ´no chance´ if Argentina produce their best - Diaz|
|Ocampos joins Marseille permanently|
|Europa League Review: Cloud-nine Brondby ignite opening round|
|West Ham 3 Lusitans 0: Sakho nets twice at start of Europa League journey|
|Holebas makes Watford move|
|Milan secure Adriano signing|
|Peru v Paraguay: Diaz counts cost of semi-final loss|
|Bastia hit out at reports of extra debt|
|Hernandez has successful surgery|
|Odemwingie signs one-year Stoke extension|
|Uth signs for Hoffenheim|
|Henen seals Everton return|
|Cattermole pens long-term Sunderland deal|
|United States v Guatemala: Klinsmann backs Dempsey ahead of Gold Cup warm-up|
|West Ham working on Jenkinson return - Gold|
|Milan agree deal for Bacca|
|Real buy back Vazquez from Espanyol|
|Richards leaves Swansea for Fulham|
|McShane signs for Reading|
|Giggs tells youngsters to seize US chance|
|Hammond pens Leicester extension|
|Only Schweinsteiger can decide Bayern future - Guardiola|
|Cech plans to play until he´s 40|
|Montoya arrives in Milan ahead of Inter move|
|Hernandez out of Gold Cup|
|US asks Switzerland to extradite seven FIFA officials|
|MLS Preview: Sounders seek momentum switch|
|Mexico 0 Honduras 0: Hernandez injury sours friendly|
|Hernandez taken to hospital|
|Garay in doubt for Copa America final|
|Wambach: USA peaking for World Cup final|
|Bassett ´an absolute hero´ despite own goal - Sampson|
|Japan 2 England 1: Late own goal breaks English hearts|
|Salvo quits as Valencia president|
|Costa not Ribery cover - Bayern director Sammer|