LONDON (AP) — West Ham scored three times in 15 minutes to fight back to eliminate Tottenham, while Chelsea ousted Everton to reach the quarterfinals of the League Cup on Wednesday.

Moussa Sissoko and Dele Alli sent Tottenham into a halftime lead but Andre Ayew's double leveled the match and Angelo Ogbonna sealed a remarkable 3-2 win to stun the home fans at Wembley Stadium.

At Stamford Bridge, Chelsea defender Antonio Rudiger headed in his first goal since joining the club in the offseason in the 26th minute and Willian doubled the lead in the second minute of stoppage time. Dominic Calvert-Lewin pulled one back but Everton lacked time to equalize and Chelsea held on to win 2-1.

Chelsea, Everton, Tottenham and West Ham made a combined 30 changes from the 44 players who started their weekend Premier League games.

The draw for the quarterfinals is on Thursday. Bristol City of the second tier is the only non-Premier League team still in the competition. Arsenal, Bournemouth, Leicester, Manchester City and Manchester United also advanced on Tuesday.