Late penalties from Matthew Taylor and Jack Collison saw West Ham reach the League Cup quarter-finals with a 2-0 win at 10-man Burnley.
Taylor converted the first spot-kick 14 minutes from time after Jason Shackell was adjudged to have brought down Kevin Nolan.
Keith Treacy was then sent off for bringing down Collison in stoppage time, the Wales international picking himself up to send Tom Heaton the wrong way.
Earlier, Kieran Trippier had rattled the West Ham crossbar with a rasping free-kick at Turf Moor.
Defeat was Burnley's first in 12 games and ended the Championship leaders' eight-match winning streak, while for a much-changed West Ham side, victory came as a welcome boost after an indifferent start to the club's Premier League campaign.
Sean Dyche made four changes to his Burnley team with three regular starters rested and David Jones missing out through suspension.
Former West Ham man Junior Stanislas was among those recalled while Sam Allardyce made nine changes from Sunday's 0-0 draw with Swansea City, only James Tomkins and Mohamed Diame retaining their starting berths.
It was Stanislas who had the game's first effort of note in the 11th minute, taking on debutant Pelly Ruddock before fizzing in a low drive from 25 yards that Adrian had to tip behind.
From the resulting corner, Stanislas fed Danny Ings inside the box, Burnley's top scorer turning and firing a shot on goal that the goalkeeper parried over the bar.
The hosts enjoyed much the better of the opening half, with Treacy in the 20th minute and Stanislas on the stroke of half-time both testing Adrian from distance, but on both occasions the Spaniard was able to move comfortably and gather the ball.
The visitors started the second half with much greater attacking intent, Tomkins seeing his goalbound header cleared in the 52nd minute, before Joe Cole's acrobatic effort was ruled out for offside a minute later.
Burnley responded in the 57th minute, Treacy thumping a volley over Adrian's bar following a clever short corner between Ings and Stanislas.
The hosts then went agonisingly close 10 minutes later, Tripper thundering a 25-yard free-kick against the crossbar with Adrian well beaten.
Second-half substitutes Stewart Downing and Collinson then combined, the latter seeing his powerful effort from close range blocked by Shackell.
Six minutes later came the game's key moment as Modibo Maiga flicked the ball on and Nolan, only just on as a substitute, fell under the challenge of Shackell and the referee pointed to the spot.
Taylor stepped up and sent his penalty to Heaton's left, the goalkeeper getting fingers to the ball on its way into the top corner.
As the hosts pressed for an equaliser, Heaton's rushed clearance fell to Collison, who looked set to fire into the unguarded net before being brought down by Treacy, who saw red for denying a goalscoring opportunity.
Collison calmly converted the penalty to seal the win and send West Ham into the quarter-finals.
|Coach: S. Dyche|
for J. Stanislas 84'
for D. Edgar 90+2'
|Berardi will get Italy call when system changes - Ventura|
|Lucas Vazquez delighted by ´dream´ Madrid deal|
|Scottish FA chief backs cross-border competition|
|Dortmund need Reus - Aubameyang|
|Lamela eyeing new Spurs deal|
|Tighter Watford matches are a coincidence, says Mazzarri|
|Karanka: We saved Boro from League One|
|Police investigate homophobic leaflet at West Ham|
|Spain could recall Villa, reveals Lopetegui|
|Hughes backs Bony to break Stoke duck|
|Sarri will greet Higuain ´like a son who made him angry´|
|Robben receives Netherlands recall|
|Dyche considering Gray recall for Burnley|
|Zidane was behind one of my best seasons, says Ronaldo|
|Schweinsteiger absent from United squad photo|
|Emery emphasises Thiago Silva´s importance amid Juve links|
|Ferguson: Leicester will make deep Champions League run|
|Ranieri hails ´special´ Ballon d´Or nominations for Vardy and Mahrez|
|Emery: PSG cannot rely solely on Cavani goals|
|Mourinho can match Guardiola, insists Ferguson|
|Ferguson hails Klopp: Liverpool are strong title contenders now|
|Bayern optimistic over Lewandowski renewal|
|Zubizarreta appointment confirmed by Marseille|
|Clichy: Things will click into place for Manchester City|
|Chiellini: Juventus wanted to send a message|
|Gabigol´s time will come - De Boer|
|Ronaldo: Messi and I are not friends - but we respect each other|
|Earthquake halts play in Serie A game between Pescara and Atalanta|
|Mourinho charged over Taylor comments|
|Ronaldo: I need my haters|
|Badstuber hopeful injury woes behind him|
|Kroos did not want to be rested, insists Zidane|
|Rojo was phenomenal - Mourinho|
|Seven arrests made after West Ham - Chelsea fan clashes|
|Florenzi injury blow for Roma|
|MLS Review: Galaxy, Toronto into semis|
|Beister: Victory move surprised people|
|Bilic: Cup run will help in Premier League|
|Pjaca out for up to three weeks|
|Trophies still the focus for Guardiola|
|Mignolet wants ´fair´ Karius battle|
|Ancelotti impressed by motivated Bayern|
|West Ham ´unreservedly condemn´ crowd trouble|
|Allegri praises strike duo after win over Sampdoria|
|De Boer praises two-goal Icardi after vital win|
|Chelsea were ´unlucky´ with missed chances, insists Conte|
|Mourinho: I´ve never had fans like these|
|Nacho´s goal better than my Champions League final volley - Zidane|
|Borussia Dortmund 1 Union Berlin 1 (aet, 3-0 pens): Weidenfeller shootout heroics seal progress|
|Bilic: Crowd trouble distracts from great West Ham win|
|Kompany told me he couldn´t play anymore - Guardiola|
|Liverpool and Manchester United handed home quarter-finals|
|Inter 2 Torino 1: Icardi double alleviates pressure on De Boer|
|Manchester United 1 Manchester City 0: Mata extends Guardiola´s winless run|
|West Ham 2 Chelsea 1: Crowd trouble tarnishes Hammers´ route to quarter-finals|
|Cultural Leonesa 1 Real Madrid 7: Morata and Asensio star in BBC´s absence|
|Bayern Munich 3 Augsburg 1: Green´s first goal sends holders through|
|Juventus 4 Sampdoria 1: Rapid start sets champions on their way|
|Crafty Suarez is world´s best striker - Godin|
|Mancini: Balotelli has wasted years but can bounce back|
|Rami rejected ´risky´ PSG move|
|Neymar would have cost PSG €430m, claims father|
|Sacchi warns Bayern players over Ancelotti temper|
|Valencia ´pleased´ with RFEF bottle ruling|
|Mourinho apologises to Utd fans for Chelsea thrashing|
|Barcelona lash out at ´totally reprehensible´ RFEF comments|
|Jacob leaves Marseille amid rumours of Zubizarreta appointment|
|Lavezzi added to Argentina squad as Dybala drops out|
|Del Bosque: Mourinho had a point on Conte|
|N´Zonzi in talks over Sevilla extension|
|Allardyce successor ´will not be a mercenary´ - Glenn|
|Aubameyang like a rocket, Lewandowski perfect - Riedle|
|RFEF fines Valencia, warns Barca over bottle incident|
|Wenger tells Iwobi to improve his finishing|
|Barcelona without Mathieu for three weeks|
|Kimmich draws inspiration from Xavi|
|Vazquez signs new Madrid deal|
|Higuain the best striker in the world - Nedved|
|Wolfsburg regret De Bruyne, Perisic sales|
|Parejo slams Neymar for ´inciting´ Valencia fans|
|Gundogan predicts ´very lively´ Manchester derby|
|Luis Enrique satisfied with Supercopa workout|
|Messi could join Newell´s after World Cup - Maxi Rodriguez|
|Ibrahimovic wants United to be the boss of City|
|Schmidt on the bus as Lotte book ticket for next round|
|Pogba still adapting to Premier League, says Mourinho|
|Southgate hails influence of demoted Rooney|
|Lille ready to heap more pressure on PSG as Corchia dreams big|
|I´m among top 20 LaLiga coaches, jokes Luis Enrique|
|Brattan earns Socceroos call-up|
|Pochettino pleased with Janssen|
|Klopp never questioned Sturridge quality|
|Barcelona downed by Espanyol in Supercopa|
|Heavy Milan defeat ´just a bump in the road´ - Montella|
|Pochettino wanted Liverpool debutant sent off|
|Klopp happy to entertain as Liverpool youngsters earn their spurs|
|Leverkusen dumped out by 10-man minnows|