The Premier League season is over and three teams have been relegated.
Before all nine matches kicked off simultaneously, only Southampton had no chance of staying in English football's top flight.
Three teams were trying to avoid the remaining two relegation slots: Everton, Leicester City and Leeds United.
Everton had the advantage, starting the day two points clear of their rivals. Leicester and Leeds had to win to have a chance to survive, and they had to hope that Everton dropped points against Bournemouth.
In the end, Leicester City was relegated from the Premier League on Sunday despite ending the season with a 2-1 win against West Ham.
Everton's 1-0 victory against Bournemouth at Goodison Park meant there was nothing the 2016 league champion could do to avoid the drop.
Dean Smith's side had sparked hope it could mount a dramatic survival bid after Harvey Barnes struck in the 34th minute.
With Everton drawing 0-0 at the time, Leicester temporarily climbed out of the bottom three on goal difference, prompting wild celebrations inside the Foxes' home ground.
But when news began to filter through that Abdoulaye Doucoure had put Everton ahead in the second half, the energy was sucked out of the stadium.
Wout Faes headed in a second for the home team in the 62nd, but Leicester's fortunes were dependent on what was happening on Merseyside.
By the time Pablo Fornals pulled one back for West Ham in the 79th, it mattered little on the day or for the season overall.
On a day of high drama, Leicester fans were tormented by rumours that Bournemouth had scored, sparking ripples of celebrations before reality hit.
Starting the day in the relegation zone, Leicester knew it had to win to stand any chance of survival — and even then, needed Everton to drop points.
A superior goal difference to the Merseyside club meant a victory would see it stay up even if Everton drew.
After some nervous moments early on, Leicester grew in confidence and began to find space behind West Ham's defence. Kelechi Iheanacho came close to opening the scoring with a spinning shot that clipped the top of the crossbar.
It was a moment that prompted the stadium to erupt as the fans tried to urge their team on.
It had the desired effect when Barnes found the back of the net after a slick passing move inside the box. Collecting Iheanacho's pass on the left of the area, Barnes slid his shot past Lukasz Fabianski from a tight angle.
Leicester went in search of a quick-fire second with Iheanacho and James Maddison both coming close.
There was another roar from inside the ground, which appeared to be the result of erroneous information that Everton had conceded.
In the 57th there was more information from Goodison and on this occasion it was accurate.
Doucoure had scored, prompting visiting West Ham fans to chant "You're going down."
It could have been worse for Leicester but Said Benrahma struck the post for West Ham.
Leeds' three-season stay in the Premier League ended after a 4-1 home defeat to Tottenham confirmed the team's relegation.
Harry Kane and Pedro Porro scored early in each half to put Spurs 2-0 ahead and, although Jack Harrison reduced the deficit, Kane struck a game-clinching second in what could be his last game for the London club.
Tottenham substitute Lucas Moura sliced through a porous defence in stoppage time to complete the misery for Leeds, which ultimately would have gone down even with a win at Elland Road.
Since Leicester and Everton both won, Leeds' 21st league defeat of the season was immaterial and home fans vented their frustration and anger after the final whistle sounded.
Tottenham finished in eighth place and missed out on qualification for European competition next season.
Leeds has not kept a clean sheet since February and its hopes of doing so on Sunday were extinguished in just the second minute.
The ease with which Porro and Son Heung-min combined to carve open the defence typified Leeds' season, with Kane finding space to provide a finish.
Everton's fans poured onto the field to celebrate their team's latest final-day escape in the Premier League after a 1-0 win over Bournemouth secured by Abdoulaye Doucoure's second-half thunderbolt on Sunday.
Add 2023 to 1994 and 1998 as Everton again left it to the last afternoon of the campaign to preserve its top-flight status, which the club has had since 1954.
Everton finished one place above the relegation zone — two points above Leicester, whose 2-1 win over West Ham proved to be in vain.
Doucoure's powerful 20-metre strike will go down as one of the most important goals in the club's 145-year history and ensured Everton is not heading down to the Championship and likely into financial chaos.
The midfielder's 10th goal for the club capped a remarkable turnaround in four months for the Mali international, who was training on his own in January after a fall-out with former Everton manager Frank Lampard.
Five days after having his contract extended by 12 months — and with his side just over half-an-hour from going down — he delivered when it mattered most.
AP/ABC