Doncaster Rovers clinched the League One title thanks to James Coppinger's injury-time winner in an incredible finale to the promotion showdown with Brentford at Griffin Park.
Rovers needed a draw to net the second automatic place and deny the Bees.
They looked set do so until Dean Furman fouled Toumani Diagouraga in the box in the 94th minute.
But Marcello Trotta hit the bar with his penalty and Coppinger scored on the break to give Rovers the title.
Bournemouth would have gone up as champions but instead dropped to second place following their draw away against Tranmere Rovers and Coppinger's counter-attack goal.
The visitors poured forward after substitute Trotta had blasted his spot-kick against the bar and Billy Paynter ran free on the right flank and showed great composure to tee up Coppinger.
Doncaster's gameplan of defending in numbers and frustrating their opponents had worked wonders until an astonishing last few minutes.
The Bees did go close to taking the lead when Bradley-Wright Phillips smashed a shot against the post early on but they threatened in a first half which lacked clearcut chances.
Doncaster's best opportunities saw David Cotterill twice denied from distance by goalkeeper Simon Moore.
And although the hosts looked more likely to break the deadlock after the interval, the visiting rearguard remained resolute and restricted their hosts.
Bees defender Harlee Dean twice wasted headed opportunities while Joanathan Douglas shot wildly over the bar from 15 yards.
But the Londoners seemed to have been gifted victory and Championship football next season when Furman fouled Diagouraga.
However on-loan Fulham striker Trotta insisted on taking the spot-kick away from captain Kevin O'Connor and smashed the ball against the bar.
Doncaster cleared their lines and Paynter ran through and slipped the ball into the path of Coppinger, who tapped home to consign the Bees to a two-legged play-off match against Swindon Town.
VIEWS FROM THE DRESSING ROOM
Brentford boss Uwe Rosler told BBC London 94.9:
"It's hard to put into words.
"The whole group had to respond because the whole group knew who I selected to take the penalty - which was Kevin O'Connor. As a whole group we have to make sure that message will be followed.
"We should go home and get it out of the system and from tomorrow we start again and then we will be okay. But at the moment it's very difficult under the circumstances after we didn't go up.
"We were nervous and some players didn't want the ball. We should have shown more bravery as a team to get the ball down."
Doncaster boss Brian Flynn told BBC Radio Sheffield:
"So close wasn't it? All credit to the lads, it was a monumental effort and Brentford are a good side. They really, really tested us to the limit.
"You get a penalty and you fear for the worst but thankfully it turned out brilliant.
"It was a beautiful game this and crazy at times."
- 21 Moore
- 06 Dean
- 14 Logan (Forshaw - 64' )
- 24 Bidwell
- 02 O'Connor
- 08 Douglas Booked (Trotta - 77' )
- 12 Adeyemi
- 20 Diagouraga
- 09 Donaldson Booked
- 17 Wright-Phillips Booked
- 19 Forrester (Saunders - 69' )
- 16 Gounet
- 18 Hodson
- 31 Pierre
- 04 Forshaw
- 07 Saunders
- 10 El Alagui
- 11 Trotta
- 01 Sullivan
- 02 Quinn Booked
- 05 Jones
- 14 Spurr
- 16 McCombe Booked
- 11 Cotterill Booked
- 12 Lundstram Booked (Keegan - 61' )
- 26 Coppinger Booked
- 35 Furman
- 09 Brown (Syers - 83' )
- 17 Hume (Paynter - 77' )
- 33 Woods
- 03 Husband
- 15 Wakefield
- 06 Syers
- 30 Keegan
- 08 Paynter
- 23 Bennett
Live Text Commentary
Full Time The referee signals the end of the game.90:00 +6:07 Booking
Booking The referee shows James Coppinger a yellow card for unsporting behaviour.90:00 +5:06
Billy Paynter provided the assist for the goal.90:00 +5:06 Goal scored
Goal! - James Coppinger - Brentford 0 - 1 Doncaster A goal is scored by James Coppinger from close in high into the middle of the goal. Brentford 0-1 Doncaster.90:00 +3:16 Penalty
Penalty missed by Marcello Trotta.90:00 +3:16
Dean Furman challenges Toumani Diagouraga unfairly and gives away a Penalty.90:00 +2:01
Adam Forshaw fouled by Dean Furman, the ref awards a free kick. Direct free kick taken by Kevin O'Connor.90:00 +1:17
Paul Keegan gives away a free kick for an unfair challenge on Toumani Diagouraga. Simon Moore restarts play with the free kick.88:51
Free kick taken by Neil Sullivan.88:51 Booking
Booking Clayton Donaldson is shown a yellow card.88:35
Clayton Donaldson gives away a free kick for an unfair challenge on Neil Sullivan.87:08
Shot from inside the six-yard box by Billy Paynter goes wide right of the target.86:34
Tommy Spurr is adjudged to have handled the ball. Indirect free kick taken by Simon Moore.84:08
The assistant referee signals for offside against Billy Paynter. Indirect free kick taken by Adam Forshaw.83:42
Simon Moore takes the free kick.83:42 Booking
Booking David Cotterill is given a yellow card.83:29
Handball decision goes against Billy Paynter.82:31 Substitution
Substitution David Syers joins the action as a substitute, replacing Chris Brown.81:01
Effort from the edge of the box by Jake Bidwell goes wide of the left-hand upright.80:37
Corner from the right by-line taken by Sam Saunders, Paul Keegan manages to make a clearance.
Sam Saunders takes a shot. Blocked by Rob Jones.79:35
Foul by Chris Brown on Jake Bidwell, free kick awarded. Simon Moore takes the direct free kick.79:13
Harlee Dean takes a shot. Neil Sullivan makes a comfortable save.76:30
Simon Moore takes the free kick.76:30 Substitution
Substitution Billy Paynter joins the action as a substitute, replacing Iain Hume.76:30 Substitution
Substitution (Brentford) makes a substitution, with Marcello Trotta coming on for Jonathan Douglas.76:30
The offside flag is raised against James Coppinger.75:55
Toumani Diagouraga takes a shot. Paul Keegan gets a block in.74:39
Sam Saunders takes the direct free kick.74:39 Booking
Booking Paul Quinn is booked.74:26
Free kick awarded for an unfair challenge on Sam Saunders by Paul Quinn.73:28 Booking
Booking Jonathan Douglas booked for dissent.73:22
Effort from deep inside the area by Clayton Donaldson misses to the right of the target.71:32
Kevin O'Connor challenges Chris Brown unfairly and gives away a free kick. Free kick taken by Jamie McCombe.69:50
Sam Saunders takes a inswinging corner from the left by-line played to the near post, clearance made by Dean Furman.69:38
Sam Saunders takes a shot. Rob Jones gets a block in.68:58 Substitution
Substitution Harry Forrester goes off and Sam Saunders comes on.67:59
Outswinging corner taken from the right by-line by David Cotterill.66:21
Shot on goal by Jonathan Douglas from just inside the area goes over the target.64:19
Inswinging corner taken by David Cotterill from the left by-line, Rob Jones produces a header from deep inside the six-yard box which goes wide of the right-hand upright.63:21 Substitution
Substitution Shaleum Logan goes off and Adam Forshaw comes on.60:50
Neil Sullivan restarts play with the free kick.60:50 Substitution
Substitution John Lundstram leaves the field to be replaced by Paul Keegan.60:50
Shaleum Logan is ruled offside.60:27
Bradley Wright-Phillips takes a shot. Blocked by Jamie McCombe.58:41 Booking
Booking The referee cautions Bradley Wright-Phillips for unsporting behaviour.54:17
Harry Forrester takes the inswinging corner, Jonathan Douglas concedes a free kick for a foul on Chris Brown. Direct free kick taken by Neil Sullivan.53:09
Tom Adeyemi challenges James Coppinger unfairly and gives away a free kick. Neil Sullivan takes the direct free kick.51:43
Corner taken short by Harry Forrester.49:55
Unfair challenge on Jamie McCombe by Bradley Wright-Phillips results in a free kick. Free kick taken by Neil Sullivan.48:46
Clayton Donaldson gives away a free kick for an unfair challenge on Neil Sullivan. Neil Sullivan takes the free kick.46:33
Harry Forrester gives away a free kick for an unfair challenge on Paul Quinn. Direct free kick taken by David Cotterill.45:48
The assistant referee signals for offside against Iain Hume. Indirect free kick taken by Simon Moore.45:25
Bradley Wright-Phillips concedes a free kick for a foul on Paul Quinn. Jamie McCombe takes the free kick.45:01
The second half has started.45:00 +4:04 Half time
Half Time The referee calls an end to the first half.45:00 +3:41
David Cotterill takes a shot. Save made by Simon Moore.43:54
Bradley Wright-Phillips takes a shot. Save made by Neil Sullivan.43:00
James Coppinger takes a shot. Simon Moore makes a save.40:37
Bradley Wright-Phillips is caught offside. Neil Sullivan restarts play with the free kick.39:42
The referee penalises Dean Furman for handball. Free kick taken by Simon Moore.37:01
Jake Bidwell restarts play with the free kick.37:01 Booking
Booking Booking for John Lundstram for unsporting behaviour.36:55
Free kick awarded for an unfair challenge on Jonathan Douglas by John Lundstram.35:32
Unfair challenge on Chris Brown by Kevin O'Connor results in a free kick. Jamie McCombe takes the direct free kick.34:51
Tom Adeyemi fouled by Dean Furman, the ref awards a free kick. Free kick taken by Jake Bidwell.33:38
Header by Harlee Dean from deep inside the penalty area misses to the left of the target.33:03
Jake Bidwell restarts play with the free kick.33:03 Booking
Booking Jamie McCombe goes into the book for unsporting behaviour.32:47
Jamie McCombe concedes a free kick for a foul on Clayton Donaldson.30:35
David Cotterill gives away a free kick for an unfair challenge on Harlee Dean. Simon Moore restarts play with the free kick.27:03
Free kick awarded for an unfair challenge on John Lundstram by Harry Forrester. Neil Sullivan takes the direct free kick.21:38
Inswinging corner taken right-footed by Harry Forrester, save by Neil Sullivan.20:10
Dean Furman takes a shot. Kevin O'Connor gets a block in.19:41
Shaleum Logan challenges Chris Brown unfairly and gives away a free kick. Free kick taken by David Cotterill.17:55
Bradley Wright-Phillips takes a shot. Jamie McCombe gets a block in.17:06
Chris Brown challenges Toumani Diagouraga unfairly and gives away a free kick. Simon Moore takes the direct free kick.13:09
Corner taken right-footed by Harry Forrester from the right by-line to the near post, Rob Jones manages to make a clearance.12:10
Bradley Wright-Phillips has an effort at goal from inside the penalty area that bounces off the post.10:33
Toumani Diagouraga concedes a free kick for a foul on Iain Hume. Tommy Spurr shoots direct from the free kick, Toumani Diagouraga gets a block in.7:59
David Cotterill has an effort from just inside the box that misses to the left of the goal.6:38
Tom Adeyemi is penalised for a handball. Indirect free kick taken by Neil Sullivan.1:19
Unfair challenge on Rob Jones by Tom Adeyemi results in a free kick. Direct free kick taken by Rob Jones.0:00
The match has kicked off.
Live data and text provided by our data suppliers