West Ham’s hopes of Champions League football took a severe knock as Swansea put four past them in Upton Park’s final Saturday game.
Wayne Routledge poked home Kyle Naughton’s low cross against the run of play to give the visitors the lead.
Andre Ayew doubled the lead from Stephen Kingsley’s cross, and Ki Sung-yueng put the result beyond doubt.
Diafra Sakho netted a consolation before substitute Bafetimbi Gomis added Swansea’s fourth.
It was an uncharacteristically limp home performance from Slaven Bilic’s side, and with Manchester United victorious earlier in the day, their chances of a top-four finish now appear remote.
Swansea’s fine form since Francesco Guidolin’s appointment continues and they climb two places to 11th, with a chance to finish in the top half if they win their final game against Manchester City.
Sunderland climbed out of the bottom three after two goals in three second-half minutes saw them fight back for a dramatic win over Chelsea.
Diego Costa’s precise finish gave the Blues the lead but Wahbi Khazri levelled with a spectacular volley.
Nemanja Matic found space to restore Chelsea’s lead before Sunderland turned the game on its head after the break.
Fabio Borini beat Thibaut Courtois with a deflected shot, before Jermain Defoe swivelled to score a vital winner.