West Ham United have made it through to the semi-finals of the League Cup after beating Tottenham Hotspur 2-1 at White Hart Lane.
The hosts should have taken the lead within the first two minutes, when Jermain Defoe fired a loose ball wide from close range.
Andros Townsend was next to threaten, but after bursting through the midfield, he put his low strike past the post.
The visitors nearly gifted Spurs the lead moments later when Joey O'Brien almost headed Aaron Lennon's cross into his own net.
Spurs continued to dominate, and Emmanuel Adebayor headed Townsend's ball into the box over the bar.
After the break, West Ham nearly took the lead when James Collins's free kick from inside his own half had to be beaten away by Hugo Lloris.
Midway through the half Spurs took the lead, as Adebayor slotted home Defoe's cross from close range.
In the 80th minute, the visitors equalised. Matthew Taylor latched onto a flick on from Carlton Cole, before slipping in Matt Jarvis to hammer a strike past Lloris.
With five minutes left to play, West Ham completed their comeback. Mohamed Diame swung in a cross from the right=hand side, and Modibo Maiga rose to head it into the bottom corner.
In stoppage time, Gylfi Sigurdsson missed a great opportunity to level for Spurs, but his close-range effort was kept out by Adrian and the Hammers held on to book their place in the last four.