Jack Harrison’s superb last-minute strike beat Brentford and kept Leeds United in the Premier League.
Harrison’s first-time effort from the edge of the box went through a crowd of players and past David Raya on a dramatic afternoon at the Brentford Community Stadium.
Burnley’s defeat at home to Newcastle sent them down, with Brentford finishing their maiden season in the Premier League in a creditable 13th position on the table.
After an even first half with both sides wasting decent chances, Leeds took the lead in the 57th minute through Raphina’s brilliantly-struck penalty after earlier seeing Joe Gelhardt’s goal disallowed by VAR for offside.
Raya was the culprit for the penalty, bringing the Brazilian down in the box after his poor goal-kick went straight to feet of the Leeds forward.
However, the visiting fans were silenced 12 minutes from time when substitute Sergi Canos headed home an equaliser from Bryan Mbeumo’s fine cross but was promptly booked for taking off his shirt to celebrate.
Two minutes later the Spaniard’s cameo was brought to brief halt when referee Paul Tierney showed him a second yellow card for a poor challenge on Raphina.
Brentford were then forced to finish the game with only nine players when Kristoffer Ajer were forced off with hamstring injury.
Leeds took full advantage of the Bees lack of numbers in stoppage time to preserve his side’s place in the top flight for another season.
Brentford: Raya, Sorensen (Baptiste 71), Jansson, Ajer, Henry (Canos 64), Jensen (Dasilva 57), Janelt, Eriksen, Wissa, Mbeumo, Toney.
Subs not used: Fernandez, Onyeka, Jeanvier, Baptiste, Roerslev, Stevens, Young-Coombes.
Leeds: Meslier, Firpo, Koch, Cooper, Llorente, Phillps, Rodrigo, Raphina, Harrison, Greenwood, Gelhardt (Struijk 72).
Subs not used: Klaesson, Roberts, Bate, Hjende, Cresswell, Klich, Shackleton, Gray.