Cardiff have sealed their return to the Premier League after a four-year absence by claiming the final automatic promotion spot in the second-tier League Championship at the expense of Fulham.
With a 0-0 draw at home to Reading, Cardiff joined champions Wolverhampton Wanderers in going up to the world's most lucrative league as its 69-year-old manager, Neil Warnock, earned a record eighth promotion in English football.
The Welsh club finished two points ahead of Fulham, who lost 3-1 at Birmingham to end their 23-game unbeaten run in the league. A win would have lifted the London club above Cardiff.
Instead, Fulham head into the play-offs with Aston Villa, Middlesbrough and Derby, with one more promotion berth up for grabs.
Socceroos captain Mile Jedinak put in a 90-minute shift as Villa beat Millwall 1-0 to shore up fourth spot. Derby ensured Barnsley would be relegated to League One with a 4-1 victory while Boro's 2-2 draw with Ipswich was enough to book their play-off ticket.
Fulham take on Derby and Villa will be up against Middlesbrough over two games. The play-off final is at Wembley Stadium on May 26.
Warnock, one of the most charismatic managers in the English game, gets a fourth shot in charge of a Premier League club after stints with Sheffield United, Queens Park Rangers and Crystal Palace.
The final whistle was delayed at Cardiff City Stadium because of a pitch invasion in the final minute of injury time. There was another one after fulltime, when Cardiff's Malaysian owner, Vincent Tan, was carried on the shoulders of fans.
"The biggest achievement in my 38-year career by an absolute country mile," Warnock told Sky Sports. "Nobody gave us a chance. I am so proud of them. I was better when I heard the Birmingham score. I feel really proud at the job I have done. I didn't think we would get in the play-offs let alone the Premier League."
Wolves missed out on crossing the 100-point mark for the season with their shock 3-0 loss to relegated Sunderland. Burton's 2-1 loss to Preston ensured they will join the Black Cats and Barnsley in the third tier.
Barnsley reacted to their relegation by sacking head coach Jose Morais and two of his backroom staff.
There were final-day wins for Sheffield United, Leeds and Bolton - who pulled off a great escape to stay up with a 3-2 victory over Notts Forest - while Sheffield Wednesday thrashed Norwich 5-1 and Brentford drew with Hull.