Mark Noble scored a wondergoal as West Ham beat out-of-form Leicester 2-0 at the King Power Stadium to all but secure their survival and Premier League football at the London Stadium next season.
Joao Mario opened the scoring just after the half-hour mark when Arthur Masuaku got the better of Yohan Benalouane before his cross was played back across goal by Marko Arnautovic for the on-loan midfielder to slot in.
Aaron Cresswell should have seen red early in the second half when he grabbed the ball to deny Jamie Vardy a clear run at goal.