West Brom have sealed their return to the Premier League after a 2-2 draw with Queens Park Rangers at The Hawthorns.
The Baggies crawled across the line to seal second spot in the Sky Bet Championship after Brentford lost 2-1 to Barnsley.
Had the Bees won Albion would have dropped into the play-offs but Slaven Bilic's side survived an agonising final few minutes to celebrate promotion.
Ebere Eze denied them the victory which would have made Wednesday night's finale at The Hawthorns much easier.
Callum Robinson had put the Baggies 2-1 ahead after Grady Diangana cancelled out Ryan Mannings' first-half opener for QPR.
In pictures: West Brom's promotion celebrations
How West Brom won promotion
It was a night for the neutral during an entertaining final evening in the division and the Baggies initially showed few signs of nerves despite what was at stake.
Joe Lumley smothered at Diangana's feet after the forward tried to burst clear and the recalled Robinson glanced Darnell Furlong's cross wide.
Vocal QPR stopper Lumley was busy and he got down well to save Romaine Sawyers' low effort after 15 minutes.
Albion made the running with Matheus Pereira twice ballooned over but they failed to take an early lead.
Slowly, the visitors gained a foothold and it was evident there was not going to be a repeat of the 7-1 thumping they suffered in their last visit to The Hawthorns.
The mid-table visitors had nothing hanging on the game but they played their part in the promotion drama by stunning the Baggies with the opener after 34 minutes.
Mannings collected the ball 20 yards out and, while Kyle Bartley blocked his first effort, the ball fell kindly for the midfielder to drill a second strike low into the corner.
But Albion refused to buckle and levelled 10 minutes later when Diangana slotted through Lumley's legs after being slipped through by Robinson.
On-loan Sheffield United forward Robinson then had a goal disallowed for offside and flashed a volley wide in first-half injury time.
It was only a warning for what was to come as the Baggies turned the game around five minutes after the break.
Diangana's brilliant skill bamboozled Luke Amos and Osman Kakay to find the unmarked Robinson in the area and he tapped in from six yards.
It was just the 25-year-old's second start since the Championship resumed and he should have made it 3-1 four minutes later, only to shoot wide with just Lumley to beat.
It proved a costly miss as the positive and competitive Rangers levelled after 61 minutes with a magical strike from Eze.
Yoann Barbet's long ball found Eze, who took advantage of Dara O'Shea's poor positioning to effortlessly find the top corner from 18 yards.
As news filtered through of a Brentford leveller, Filip Krovinovic was denied by Lumley to set up a tense final 15 minutes.
But Barnsley's late winner at Griffin Park eased the nerves and saw the Baggies coaching staff urging their players back from a corner to ensure they collected the point they needed.
What the managers said...
West Brom's Slaven Bilic: "It's at the top (of his achievements). You don't know how exhausting it was this season. You can't imagine how proud and happy I am.
"I managed my country (Croatia) for six years and I said no matter which club I manage nothing will compare when you are manager of your national team. I can't say it's the same but I feel as proud as I felt then.
"We've got work to do but I haven't thought about it because of this crazy situation. We did a bit of work during the lockdown. Now, not today, not tomorrow or the day after and we'll see next week.
"What a season - what a league. I know you asked me that and I was very vocal when I said I would always like to manage in the Championship because it's especially difficult."
QPR's Mark Warburton: "Watching West Brom celebrate on the pitch, it's going to burn into your soul. I want that.
"The players have been asked and challenged every game, it's a very high level.
"It was important we came here and showed the appropriate level of commitment. The players deserve a lot of credit.
"We're happy, teams have come here and if you're not careful you can get badly hurt. The players have worked hard on the training ground and got the result they deserve to."