Southampton missed their chance to clinch promotion to the Premier League as Merouane Zemmama's superb free-kick gave Middlesbrough a thrilling win.
The Saints, who knew a victory would send them up, made the perfect start when Rickie Lambert set up Billy Sharp to score after just 47 seconds.
But Boro, who needed the three points to stay in the play-off race, levelled through Nicky Bailey's deflected shot.
And Zemmama won it 13 minutes from time with a curling shot into the corner.
The result means Reading are crowned champions and the race for the second automatic spot will go to the last day of the Championship season - if third-placed West Ham beat Leicester on Monday.
Saints need a win at home to relegated Coventry in next weekend's finale, otherwise they can be overhauled by the Hammers, who are five points behind Nigel Adkins' side but play the Foxes before facing Hull on Saturday.
Boro, meanwhile, can still finish in the top six if they beat Watford and Cardiff lose to Crystal Palace.
Tony Mowbray's men showed tremendous spirit to fight back from Sharp's first-minute strike, which came after some unselfish play by Lambert.
Adam Lallana's header played in Lambert who, with Boro keeper Jason Steele off his line and closing him down, unselfishly squared for Sharp to slot home from close range.
But Boro responded well, with Faris Haroun finding plenty of space down the right and sending in a dangerous low cross that Daniel Fox had to slide in to reach ahead of Lukas Jutkiewicz, before Barry Robson blasted over.
Robson joined Justin Hoyte in firing in further shots from distance and, although Fox fired just wide with a free-kick at the other end, the momentum was with Boro.
The home side deservedly levelled on the stroke of half-time, when Bailey met Jos Hooiveld's headed clearance with a first-time shot from the edge of the box which hit Richard Chaplow on its way into the net.
Saints lose their way
The last time Southampton lost a league game after taking the lead was on 29 September 2009, when Bristol Rovers won their League One match 3-2 at St Mary's after trailing 1-0 and 2-1
Saints responded by starting the second half on the attack and the game could have headed in a very different direction had referee Tony Bates decided to show Boro defender Seb Hines a second yellow card after 55 minutes for clipping Lallana's heels as he prepared to shoot on the edge of the box.
Bates kept his cards in his pocket, however, and Saints were unable to make their pressure count.
Boro belatedly began to venture forward again themselves and, when Fox fouled Jutkiewicz, Zemmama steped up to bend an unstoppable shot into the top corner.
The closest Saints came to an equaliser were two Guly Do Prado shots which fizzed just off target, and their fans will anxiously watch events at the King Power Stadium on Monday in the hope that Leicester can help their side over the finish line by taking some points off the Hammers.
Middlesbrough boss Tony Mowbray:
"That (win) keeps it alive for us, it keeps it bubbling.
"We know now we have to go to Watford and win. Yes, we would still need someone else to do us a favour - Cardiff have a tough game at Crystal Palace - but we are still in there and fighting.
"And, to be fair, the lads deserve it after that performance. To come from a goal down so early showed great character.
"But they knew they had to. They knew that only three points would do and they played in a very positive manner."
Southampton manager Nigel Adkins:
"It would have been nice to seal it today, especially for all those fans who have come such a long way to support us. But we will have to make sure we do it at home now.
"We know what we have to do next week when we play Coventry at our place in front of 32,000 people. We have to make sure.
"We had a great start here, it is not often you score a goal in the first minute and that should have given us a platform to go on and win the match, we know that.
"But credit to Middlesbrough, they worked very hard to get back in the match and they made it very difficult for us."
- 01 Steele
- 02 Hoyte (Bennett - 40' )
- 06 McManus
- 15 Hines Booked
- 29 McMahon
- 05 Zemmama Booked
- 10 Bailey Booked
- 17 Robson (Williams - 59' )
- 38 Haroun
- 07 McDonald (Main - 59' )
- 30 Jutkiew'z
- 03 Bennett
- 14 Williams
- 11 Hammill
- 16 Ogbeche
- 25 Main
- 01 Davis
- 06 Fonte Booked
- 12 Butterfield (Schneiderlin - 84' )
- 13 Fox
- 26 Hooiveld
- 08 Cork
- 14 Hammond
- 18 Chaplow (Guly - 61' )
- 20 Lallana
- 07 Lambert
- 11 Sharp
- 21 Bialkowski
- 03 Harding
- 16 Martin
- 04 Schneiderlin
- 10 Guly
Live Text Commentary
Full Time The referee blows his whistle to end the game.90:00 +5:06
Lukas Jutkiewicz takes a shot. Daniel Fox gets a block in. Merouane Zemmama decides to take the corner short. Stephen McManus challenges Jose Fonte unfairly and gives away a free kick. Jose Fonte takes the direct free kick.90:00 +0:48
Adam Lallana crosses the ball, clearance by Joe Bennett. Richard Lambert takes a shot. Blocked by Rhys Williams. Inswinging corner taken by Adam Lallana.88:50
Corner taken by Adam Lallana from the left by-line, Jos Hooiveld has a header from close range and clears the crossbar.87:25
Corner taken right-footed by Adam Lallana from the left by-line, clearance by Stephen McManus.86:52
Lukas Jutkiewicz concedes a free kick for a foul on Jose Fonte. Free kick taken by Jose Fonte.85:58
Merouane Zemmama sends in a cross, Kelvin Davis makes a save.85:37
Curtis Main produces a cross.83:15
Foul by Jack Cork on Rhys Williams, free kick awarded. The free kick is delivered right-footed by Tony McMahon from right wing, clearance by Morgan Schneiderlin.83:15 Substitution
Substitution Danny Butterfield leaves the field to be replaced by Morgan Schneiderlin.83:15
Effort on goal by Guly Do Prado from a long way out goes over the bar.82:37
Centre by Jack Cork, clearance by Seb Hines.81:29
Guly Do Prado is caught offside. Free kick taken by Jason Steele.78:58
The ball is swung over by Adam Lallana.78:04
The ball is delivered by Richard Lambert, clearance by Stephen McManus.76:57 Goal scored
Goal! - Merouane Zemmama - Middlesbro 2 - 1 Southamp'n Merouane Zemmama scores a goal direct from the free kick from just outside the penalty area to the top left corner of the goal. Middlesbrough 2-1 Southampton.75:20 Booking
Booking The referee cautions Jose Fonte for unsporting behaviour.75:06
Unfair challenge on Lukas Jutkiewicz by Daniel Fox results in a free kick.70:56
Free kick awarded for an unfair challenge on Lukas Jutkiewicz by Jos Hooiveld. Direct effort from the free kick comes in from Tony McMahon, save by Kelvin Davis. Corner from the left by-line taken by Tony McMahon, Danny Butterfield manages to make a clearance. Richard Lambert is ruled offside. Seb Hines restarts play with the free kick.69:06
Richard Lambert has an effort at goal from deep inside the area missing to the left of the target.
Free kick awarded for a foul by Rhys Williams on Jack Cork. Danny Butterfield takes the direct free kick.67:52
The ball is crossed by Daniel Fox, clearance by Joe Bennett.67:29
The assistant referee signals for offside against Billy Sharp. Nicky Bailey takes the free kick.66:47
Centre by Lukas Jutkiewicz.64:52
Free kick awarded for an unfair challenge on Jose Fonte by Lukas Jutkiewicz. Kelvin Davis takes the free kick. Richard Lambert takes a shot. Blocked by Tony McMahon. Inswinging corner taken by Adam Lallana, clearance made by Seb Hines.64:35
The ball is delivered by Tony McMahon, Jos Hooiveld manages to make a clearance.62:47
The ball is sent over by Faris Haroun, save by Kelvin Davis.62:00
Centre by Lukas Jutkiewicz, clearance by Dean Hammond.58:00
Daniel Fox takes a corner.58:00 Substitution
Substitution Richard Chaplow leaves the field to be replaced by Guly Do Prado.58:00
Danny Butterfield restarts play with the free kick.58:00 Substitution
Substitution Rhys Williams on for Barry Robson.58:00 Substitution
Substitution Curtis Main on for Scott McDonald.58:00
Richard Lambert fouled by Tony McMahon, the ref awards a free kick.57:00
Danny Butterfield produces a cross.54:27
Seb Hines gives away a free kick for an unfair challenge on Dean Hammond. Shot comes in from Richard Lambert from the free kick.52:41
Inswinging corner taken by Daniel Fox, clearance made by Faris Haroun.50:14
Daniel Fox takes the free kick. A cross is delivered by Adam Lallana, Nicky Bailey manages to make a clearance. Inswinging corner taken by Adam Lallana. Billy Sharp produces a right-footed shot from inside the area that goes over the bar.50:14 Booking
Booking Seb Hines is shown a yellow card for unsporting behaviour.50:04
Seb Hines challenges Jack Cork unfairly and gives away a free kick.48:42
Richard Lambert has an effort direct from the free kick.48:42 Booking
Booking Booking for Nicky Bailey for unsporting behaviour.48:13
Free kick awarded for an unfair challenge on Adam Lallana by Nicky Bailey.45:58
Corner taken left-footed by Daniel Fox, clearance made by Joe Bennett. Inswinging corner taken left-footed by Daniel Fox, Seb Hines makes a clearance.45:33
Adam Lallana takes a shot. Blocked by Jason Steele.45:01
The referee gets the second half started.45:00 +3:39 Half time
Half Time The first half comes to an end.45:00 +3:01
The official flags Lukas Jutkiewicz offside. Free kick taken by Kelvin Davis.45:00 +1:16 Goal scored
Goal! - Nicky Bailey - Middlesbro 1 - 1 Southamp'n Nicky Bailey fires in a goal from outside the area to the bottom right corner of the goal. Middlesbrough 1-1 Southampton.45:00 +0:16
The ball is swung over by Billy Sharp, Seb Hines manages to make a clearance. Centre by Billy Sharp. A cross is delivered by Barry Robson, clearance made by Jos Hooiveld.43:06
Inswinging corner taken from the right by-line by Barry Robson, save by Kelvin Davis. Inswinging corner taken by Tony McMahon, clearance made by Jos Hooiveld. Free kick awarded for an unfair challenge on Adam Lallana by Tony McMahon. Kelvin Davis takes the direct free kick.40:53
Richard Chaplow delivers the ball, save by Jason Steele.38:10
Jason Steele restarts play with the free kick.38:10 Substitution
Substitution Joe Bennett joins the action as a substitute, replacing Justin Hoyte.38:10
Barry Robson takes a shot. Blocked by Richard Chaplow. Richard Chaplow is ruled offside.36:43
Direct strike on goal from the free kick comes in from Daniel Fox.36:43 Booking
Booking The referee shows Merouane Zemmama a yellow card for unsporting behaviour.36:31
Free kick awarded for a foul by Merouane Zemmama on Richard Chaplow.31:10
Daniel Fox takes the inswinging corner, Nicky Bailey makes a clearance.28:26
Richard Chaplow challenges Scott McDonald unfairly and gives away a free kick. Faris Haroun takes the direct free kick. Centre by Merouane Zemmama, save made by Kelvin Davis.26:15
Billy Sharp sends in a cross, Stephen McManus manages to make a clearance. Corner from right by-line taken by Daniel Fox.25:14
The ball is swung over by Faris Haroun. Effort from just outside the area by Justin Hoyte goes over the target.25:01
Adam Lallana crosses the ball, Tony McMahon manages to make a clearance.24:14
Centre by Merouane Zemmama, Kelvin Davis makes a save.22:18
Billy Sharp is caught offside. Seb Hines takes the direct free kick.20:51
Shot on goal by Richard Chaplow from just inside the area goes over the target.18:23
The assistant referee signals for offside against Faris Haroun. Indirect free kick taken by Daniel Fox.17:32
The ball is crossed by Barry Robson. The referee blows for offside. Kelvin Davis takes the indirect free kick.17:09
Free kick awarded for an unfair challenge on Tony McMahon by Richard Lambert. Tony McMahon takes the free kick.15:52
A cross is delivered by Merouane Zemmama, Daniel Fox makes a clearance. Inswinging corner taken by Barry Robson, save by Kelvin Davis.15:11
Lukas Jutkiewicz takes a long range shot clearing the crossbar.13:57
Effort on goal by Barry Robson from just inside the penalty box goes harmlessly over the target.12:35
Centre by Faris Haroun.10:03
Effort from the edge of the penalty area by Barry Robson goes wide of the left-hand post.9:10
The ball is sent over by Scott McDonald, Jos Hooiveld manages to make a clearance. Free kick awarded for an unfair challenge on Jos Hooiveld by Lukas Jutkiewicz. Free kick taken by Kelvin Davis.8:13
The referee blows for offside. Indirect free kick taken by Kelvin Davis.6:42
The ball is swung over by Tony McMahon, Kelvin Davis makes a save.5:37
Free kick awarded for an unfair challenge on Adam Lallana by Nicky Bailey. The free kick is swung in left-footed by Daniel Fox, Stephen McManus makes a clearance.3:46
Centre by Justin Hoyte, Daniel Fox manages to make a clearance. Effort on goal by Nicky Bailey from outside the penalty box goes harmlessly over the bar.0:40
Assist on the goal came from Richard Lambert.0:40 Goal scored
Goal! - Billy Sharp - Middlesbro 0 - 1 Southamp'n Billy Sharp scores a goal from close in low into the middle of the goal. Middlesbrough 0-1 Southampton.0:00
The match gets underway.
Live data and text provided by our data suppliers