Spurs kicked off against Everton needing, realistically, only a draw to avoid relegation for the first time since 1977 -- as they sat two points clear of the Hammers with a significantly better goal difference.Joao Palhinha released the mounting pressure at the Tottenham Hotspur Stadium just before half-time, poking home after his header thundered back off a post.The Portugal midfielder was mobbed by his teammates as head coach Roberto De Zerbi sprinted down the touchline, turning to celebrate with ecstatic fans in the London sunshine.That goal left Nuno Espirito Santo's West Ham, then drawing 0-0 with Leeds, needing a favour from Everton, even if they went on to win their match.Just a few miles away, at the London Stadium, Valentin Castellanos gave West Ham some hope midway through the second half as he fired the Irons in front. Jarrod Bowen and Callum Wilson made it 3-0 at the full-time whistle but it was too little too late for the Hammers as a nervy Spurs held on to secure all three points. Spurs have enjoyed a mini-revival in recent weeks under De Zerbi, who arrived in late March as the club's third manager of the season.Relegation would have been financially disastrous for the ninth-richest club in world, who won the Europa League last season under former boss Ange Postecoglou.The Hammers, who were promoted to the English top division in 2012, will join Burnley and Wolves in the Championship next season.Pep farewellManchester City boss Pep Guardiola walked out at the Etihad for the final time as manager after a decade of almost unbroken success, with newly crowned Europa League winners Aston Villa the visitors.The Catalan on Friday confirmed reports that he was leaving the club after 10 years in charge, with six Premier League titles and the Champions League in his huge collection of silverware.