Preston avoid Championship relegation
It was a dramatic final day for Burnley and Blackburn too
Preston North End will play in the Championship next season after a dramatic final day of the season say them avoid relegation.
They were 2-0 up away at Bristol City - before the home side brought it back to 2-2.
In the end, the point was enough for Preston to survive, and City to make the play-offs - sparking scenes of celebration at both ends at full-time
Meanwhile, Josh Brownhill scored twice as Burnley came from behind to beat Millwall 3-1 and hit 100 points only to miss out on the Sky Bet Championship title on goal difference.
Having been the man to cancel out Mihailo Ivanovic's 11th-minute opener, Brownhill had the final say with a stoppage-time free-kick after Jaidon Anthony had put Burnley in front in the 65th minute.
At that point the Clarets had thought they might nick the title before Manor Solomon's stoppage-time winner for Leeds at Plymouth added a final twist.
Instead, Burnley became the first club in English football history to reach a century of points but not win their league title, finishing the season on a 33-game unbeaten run.
And Blackburn fell short in their play-off bid with a 1-1 draw with Sheffield United at Bramall Lane.
Yuki Ohashi gave Blackburn a second-half lead and briefly lifted them into the top six before Ahmedhodzic levelled it up nine minutes later to deny the visitors victory, which would have sealed a play-off place.
Blackburn needed a win and for other results to go their way, while the Blades were already assured of third spot and made seven changes after last week's win at Stoke.
Rovers, seven points adrift of the top six before a 13-point haul from their previous five matches catapulted them back into contention, were one of five clubs with play-off hopes going into the final day.