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'
|West Ham target new striker|
|Pardew hopeful over De Jong|
|Rodgers expects new Gerrard deal|
|Jones: United embracing Van Gaal methods|
|Henry: Time had come to sell Suarez|
|Brunt eyes new West Brom deal|
|Arsenal´s World Cup winners to miss league opener|
|Modric hails Rodriguez, Kroos signings|
|Cech does not want bench role|
|Inzaghi blames fatigue for Milan loss|
|Real´s time to shine, says Ancelotti|
|Real Salt Lake 3 Montreal Impact 1: Garcia stars in Utah|
|Downing: Carroll injury a ´big blow´|
|Irvine: I have not seen Ideye play live|
|Olympiacos triumph in Toronto|
|Giggs likens Van Gaal to Ferguson|
|Copa do Brasil Review: Corinthians among trio on the verge of progression|
|Blanc: World Cup stars will move on|
|Pinto steps down as Costa Rica coach|
|Mourinho planning Drogba swoop|
|UEFA Europa League Review: Rosenborg complete comeback to see off Sligo|
|Mathieu out to enjoy Barcelona move|
|Mandzukic not Diego Costa´s replacement|
|Eliseu returns to Portugal with Benfica|
|Sanabria makes Roma switch|
|Carroll to miss start of season|
|Vidal: I´m not going to Manchester|
|Xavi staying at Barcelona|
|Hannover complete Gulselam signing|
|Astori loaned to Roma, Cagliari confirm|
|Nigeria to talk with Keshi over return|
|Gamberini makes Chievo move|
|Besic poised to complete Everton move|
|Marseille move Montpellier fixture from Stade Velodrome|
|CSL Preview: Harbin eye Luneng scalp, Guangzhou face Hena|
|Guardiola preaches patience with Lewandowski|
|Lampard joins New York City|
|Blanc coy on Di Maria speculation|
|CAF Confederation Cup Preview: ASEC coach confident, Al Ahly seek qualification|
|Chelsea loan Piazon to Frankfurt|
|Pochettino has high hopes for Lamela|
|Aguirre appointed as Japan coach|
|Swansea swoop for Montero|
|Pozuelo makes Vallecano switch|
|Fred back at Shakhtar, Ismaily to follow|
|CFF investigate Fofana accusations|
|Suarez could make sensational Clasico debut|
|Ribery in line for return, says Guardiola|
|Reus could resume training in two or three weeks - Klopp|
|Roma need another defender, says Garcia|
|Everton on verge of new signings|
|Rodrigo hails Nuno after Valencia switch|
|Delph eager for new Villa deal|
|Ljajic not seeking Roma exit|
|Talks held as players strike in Ecuador|
|Crouch excited by Bojan capture|
|Lambert expects swift recovery for Cole|
|West Ham duo fail to travel|
|United to play 3-4-3, says Van Gaal|
|Lallana, Markovic set to feature against Olympiacos|
|Real want to win every trophy, says Bale|
|San Jose Earthquakes 5 Chicago Fire 1: Hosts break winless streak|
|Chelsea have "outstanding squad" - Costa|
|United make winning start under Van Gaal|
|Rodgers plays down Borini injury concerns|
|Atletico Mineiro 4 Lanus 3 (agg 5-3): Own goals gift Brazilians the win|
|Dunga names Brazil assistants|
|Man City show class in Kansas|
|Villa too good for Dallas|
|Santos cannot meet Robinho´s demands, says vice-president|
|Mourinho happy with goalkeeper situation|
|Borini hurt as Liverpool lose to Roma|
|Palace held to draw by Crew|
|Tottenham down Toronto after Lamela brace|
|San Lorenzo 5 Bolivar 0: Hosts close in on Copa Libertadores final|
|Sunderland forward Scocco joins Newell´s|
|Rodgers: We won´t overpay in transfer market|
|Maccabi Haifa friendly abandoned after pitch invasion|
|USA dynamo Beasley joins Houston|
|UEFA Champions League Review: Steaua ease through as Legia Warsaw hit five|
|Youngsters inspire Sunderland to win at Hartlepool|
|Aluko and Sagbo net as Hull City beat York|
|PSG loan Aurier from Toulouse|
|Emotional Davies thanks Swansea fans|
|Mandzukic makes debut as Atletico win|
|Filipe makes bow in Chelsea draw|
|Bahebeck stars again as PSG beat Nice|
|Conte rubbishes PSG talk|
|Tottenham sign Davies and Vorm as Sigurdsson joins Swansea|
|De Laurentiis vows Napoli will fight for Scudetto|
|Lyon sign Jallet from PSG|
|Rijeka deny racism allegations|
|Suarez has been treated ´like a murderer´, says Aspas|
|Basel secure Samuel swoop|
|Thai Premier League Review: Buriram go top as Muang Thong slip up|
|Dnipro-Copenhagen clash moved to Kiev|
|Tevez never considered Juve exit|
|Djuricic joins Mainz on loan|
|Cavani keen on PSG stay|
|Shaqiri flattered by Juventus link|
|Johnson, Sommer arrive at Monchengladbach|
|J.League Review: Kawasaki close gap on Sagan, Urawa move clear at top|
|Coleman to miss Everton´s Thailand trip|
|Thankful Rueda bids farewell to Ecuador|
|Liga MX Preview: Peralta set for home debut, Leon seek recovery|
|K.League Review: Top two draw blanks, Jeju United close in|
|CAF Champions League Preview: Zamalek primed for crucial game, CS Sfaxien meet ES Tunis|
|Low quashes Germany exit rumours|
|Getafe agree Michel loan|
|Porto bring in Brahimi from Granada|
|Pardew satisfied with attacking signings|
|Pellegrini targets further City signings|
|Sevilla complete Krychowiak deal|
|Eisfeld makes Fulham move|
|Zarate opens account as West Ham stumble|
|I have nothing to prove, says Ince|
|Barcelona seal Mathieu deal|
|United prepared to spend big, claims Woodward|
|Shakhtar to play in Lviv|
|Pereyra poised for Juve switch|
|Fabregas eyes trophies at Chelsea|
|Vorm confirms Tottenham transfer|
|Deila: Forster will leave Celtic eventually|
|No pressure for Shaw|
|Van Gaal happy with preparations|
|Diarra aiming for Bordeaux return after West Ham frustration|
|Last season for Montpellier owner Nicollin|
|Monaco: Rodriguez deal too good to ignore|
|Nacional Asuncion 2 Defensor Sporting 0: Hosts surge towards Libertadores final|
|Garcia eyeing Serie A title|
|Father against Vlasic´s move abroad|
|Rodgers welcomes Gerrard´s international retirement|
|Cruzeiro, Atletico Mineiro bid for Robinho|
|Inzaghi not drawn into Balotelli speculation|
|Dunga ´not going to sell a dream´|
|City´s Fofana allegedly racially abused|
|Carroll ruled out of NZ friendlies|
|Rodgers excited by new arrivals|