West Ham 1 - 2 Aldershot
Danny Hylton's 89th-minute winner sent 10-man West Ham crashing out of the Carling Cup and put League Two side Aldershot into the second round.
The Hammers led through a curling shot from Junior Stanislas but had debutant Callum McNaughton sent off for a professional foul after the break.
That changed the game and Luke Guttridge equalised from close range after Ruud Boffin denied Alex Rodman.
Hylton snatched victory from 12 yards out after a goalmouth scramble.
That gave Aldershot their first win in this competition since the club reformed in 1992 and returned to the Football League in 2008.
But for the third time this season West Ham were left to rue conceding an important late goal at Upton Park.
Hammers boss Sam Allardyce made nine changes from the team that were held at home by Leeds in the Championship on Sunday and initially his side struggled to settle.
It took took a superb save from Boffin to deny Jake Taylor when he ran through but West Ham weathered the storm and took the lead with a strike of real quality from Stanislas.
DEAN HOLDSWORTH FACTS
- Shots boss Dean Holdsworth is a lifelong West Ham fan
- Holdsworth considers Sam Allardyce his mentor after playing under him at Bolton for four years
The Shots were given hope when McNaughton scythed down Hylton after 47 minutes.
And Dean Holdsworth's side piled on the pressure before Guttridge pounced to level with 12 minutes to go, reacting quickly after Boffin blocked Rodman's shot.
With West Ham hanging on, Michael Rankine and Jermaine McGlashan went close to winning it for Aldershot before Hylton found the bottom corner with a low angled shot.
Matt Taylor came close to equalising in stoppage time but could only fire into the side netting after latching on to a flick.
Live Text Commentary
Full Time The referee blows for the end of the match.90:00 +4:01
Effort from inside the area by Matthew Taylor misses to the right of the goal.89:39
Shot on goal comes in from Junior Stanislas from the free kick, comfortable save by Jamie Young.89:39 Substitution
Substitution Anthony Pulis is brought on as a substitute for Danny Hylton.89:39
Junior Stanislas fouled by Jamie Collins, the ref awards a free kick.88:22 Goal scored
Goal! - Danny Hylton - West Ham 1 - 2 Aldershot Danny Hylton grabs a goal from inside the area to the bottom left corner of the goal. West Ham 1-2 Aldershot.85:38
Luke Guttridge takes a shot from 25 yards. Save by Ruud Boffin. Corner from left by-line taken by Alex Rodman.84:27
Jermaine McGlashan has a header from inside the six-yard box and clears the crossbar.82:36
Effort from inside the area by Michael Rankine misses to the right of the target.80:45
Foul by Anthony Straker on Matthew Taylor, free kick awarded. Direct free kick taken by George McCartney.78:00
Shot on goal by Jermaine McGlashan from inside the box goes harmlessly over the target.77:08
Assist by Alex Rodman.77:08 Goal scored
Goal! - Luke Guttridge - West Ham 1 - 1 Aldershot Luke Guttridge gets on the score sheet with a goal from inside the six-yard box to the bottom right corner of the goal. West Ham 1-1 Aldershot.76:29
Alex Rodman takes a shot. Save by Ruud Boffin.74:43
Matthew Taylor takes a shot. Save by Jamie Young. Corner taken by Junior Stanislas, Ben Herd manages to make a clearance.73:01
Corner taken by Alex Rodman from the left by-line, Ruud Boffin makes a save.71:45
The official flags Jamie Collins offside. Ruud Boffin takes the indirect free kick.68:30
George McCartney takes the indirect free kick.68:30 Substitution
Substitution Frank Nouble comes on in place of Frederic Piquionne.68:30
The referee blows for offside against Danny Hylton.
Corner taken by Alex Rodman from the right by-line played to the near post, Frederic Piquionne manages to make a clearance.66:02
The free kick is swung in right-footed by Junior Stanislas, clearance made by Darren Jones.66:02 Booking
Booking Ben Herd goes into the book.65:48
Unfair challenge on Herita Ilunga by Ben Herd results in a free kick.64:05
Indirect free kick taken by Jamie Young.64:05 Substitution
Substitution Jermaine McGlashan replaces Peter Vincenti.64:05
The official flags Frederic Piquionne offside.60:56
Effort from outside the penalty box by Danny Hylton goes wide right of the target.59:21
Effort from outside the penalty box by Alex Rodman goes wide left of the goal.57:08
Shot from outside the area by Peter Vincenti misses to the left of the goal.54:40 Substitution
Substitution Michael Rankine comes on in place of Jake Taylor.52:12
Junior Stanislas takes a outswinging corner to the near post, Anthony Straker manages to make a clearance.52:12 Substitution
Substitution Pablo Barrera goes off and Matthew Taylor comes on.52:12
Junior Stanislas takes a shot. Jamie Young makes a save.49:58
Shot from outside the box by Alex Rodman misses to the left of the goal.46:48 Substitution
Substitution Herita Ilunga joins the action as a substitute, replacing John Carew.46:48
Jamie Collins shoots direct from the free kick. Outswinging corner taken right-footed by Alex Rodman from the left by-line.46:48 Dismissal
Dismissal Red card for Callum McNaughton.46:39
Free kick awarded for an unfair challenge on Danny Hylton by Callum McNaughton.45:01
The second half has started.45:00 +2:20 Half time
Half Time The ref blows to signal half-time.44:54
Kevin Nolan concedes a free kick for a foul on Jamie Collins. Danny Hylton restarts play with the free kick.42:36
Ben Herd gives away a free kick for an unfair challenge on Pablo Barrera. Junior Stanislas crosses the ball from the free kick right-footed from left wing.41:30
Outswinging corner taken from the right by-line by Alex Rodman, Aaron Morris takes a shot. Clearance by Junior Stanislas.39:19
The referee blows for offside against Danny Hylton. Callum McNaughton takes the indirect free kick.38:43
The assistant referee signals for offside against Alex Rodman. Indirect free kick taken by Ruud Boffin.37:37
The offside flag is raised against Frederic Piquionne. Indirect free kick taken by Jamie Young.35:37
Corner taken right-footed by Alex Rodman, clearance by Callum McNaughton.35:07
Freddie Sears has an effort at goal from deep inside the area missing to the right of the target.30:09
The referee blows for offside against John Carew. Jamie Young takes the indirect free kick.27:10
Corner taken by Alex Rodman from the right by-line, Headed effort from deep inside the penalty area by Darren Jones misses to the left of the goal.25:39
Junior Stanislas takes a shot. Save made by Jamie Young.24:43
The ball is crossed by Alex Rodman, Effort from outside the penalty box by Jamie Collins goes wide right of the target.24:19
John Carew takes a shot. Jamie Young makes a save.21:27
John Carew concedes a free kick for a foul on Darren Jones. Jamie Young takes the direct free kick.20:02
Free kick awarded for an unfair challenge on Danny Hylton by Junior Stanislas. Free kick taken by Anthony Straker.17:48
Peter Vincenti takes a shot. Save by Ruud Boffin.15:15 Goal scored
Goal! - Junior Stanislas - West Ham 1 - 0 Aldershot Junior Stanislas grabs a goal from outside the penalty area to the top right corner of the goal. West Ham 1-0 Aldershot.10:39
Danny Hylton takes a shot. Save made by Ruud Boffin.5:23
Danny Hylton takes a shot. Ruud Boffin makes a save.5:03
Danny Hylton concedes a free kick for a foul on Winston Reid. Kevin Nolan takes the free kick.0:57
Effort from deep inside the area by Jake Taylor misses to the right of the target.0:00
The referee gets the game started.
Live data and text provided by our data suppliers