Motherwell guaranteed European football for the 2013/14 season by coming from behind to beat Celtic at Fir Park.
Gary Hooper put the visitors in front at the second attempt after initially heading against the crossbar.
Henrik Ojamaa levelled for Motherwell following good work from Keith Lasley.
Charlie Mulgrew's clip on Ojamaa allowed Michael Higdon to score from the penalty spot, then Mikael Lustig's misplaced header came off post and Fraser Forster for Motherwell's third.
This energetic and attacking performance from Motherwell secures their place in a Europa League qualifying round - the fifth time in six years they will play on the European stage.
Stuart McCall's men are also one point away from confirming a second-place finish in the Scottish Premier League.
Neil Lennon's Celtic are already SPL champions but have now lost on both of their visits to Fir Park in 2013.
Almost immediately after the slightly delayed kick-off caused by a loose advertising board on the roof of a stand, Celtic's Tony Watt hit a dipping half-volley narrowly over Darren Randolph's crossbar following Tom Rogic's flighted pass.
And Motherwell showed early attacking intentions, too, when Nicky Law's whipped cross almost found Shaun Hutchinson in the six-yard box.
Rogic and Celtic captain Georgios Samaras combined at the edge of the box to create a shooting opportunity for Beram Kayal, but the midfielder's effort was held at head height by Randolph.
Referee Euan Norris overruled his assistant's offside flag to allow Kayal another blocked shot inside the box as the visitors continued to press.
Gary Hooper's 29th goal of the season gave Celtic the lead at Fir Park
As he so often does, James McFadden took it upon himself to excite the Fir Park crowd just short of the half-hour, jinking between Kayal and Lustig on the left-hand side before sending a right-foot strike high and wide of the far post.
Celtic reacted through a swift attack engineered by the impressive Rogic, who fed Samaras to deliver low for Hooper in front of goal, but the attentions of Motherwell full-back Stevie Hammell scuppered his finish.
'Well goalkeeper Randolph then offered any potential suitors something of a sales pitch.
The Irishman dived left to keep out Mulgrew's free-kick before making himself big to brilliantly deny Hooper from close range at the back post after Watt's precise cross.
At the other end, Thomas Rogne's handball did not bring a penalty for Motherwell, which was made all the more hard to swallow given that the Hoops broke the deadlock a minute later.
The lively Watt eluded Simon Ramsden on the left and poked a cross over the onrushing Randolph for Hooper to first head against the bar before he netted the rebound.
But Motherwell hit back on the stroke of half-time.
Captain Lasley used his experience to collect and distribute the ball in two touches, setting up Ojamaa to fire in low at Forster's near post from 18 yards.
And the Estonian forward won an innocuous penalty when clipped by Mulgrew after the restart.
Player of the season nominee Higdon stepped up to convincingly convert into the top-right corner for his 26th goal of the campaign.
Higdon, albeit seeming to be in an offside position from Tom Hateley's cross, made his presence felt again immediately as Motherwell got their third.
The Liverpudlian forced Lustig to head against his own post, with it rebounding off the back of Forster and into the net.
Watt's blocked shot almost got Celtic back into the game before Forster kept them in it, reacting brilliantly to claw away a Chris Humphrey drive which had deflected off Mulgrew.
Celtic introduced Paddy McCourt but Motherwell's chances flowed freely; McFadden thwarted by Forster when he looked odds on to score before Celtic's keeper stopped Higdon's low shot.
Substitute Anthony Stokes hit the post for the visitors late on but Motherwell deserved their victory.
Full Time The game is over, as the referee blows his whistle.
The assistant referee signals for offside against Anthony Stokes. Darren Randolph takes the indirect free kick.
90:00 +1:01 Substitution
Substitution Kallum Higginbotham comes on in place of Nicky Law.
Effort from just inside the penalty box by Anthony Stokes strikes the post.
Anthony Stokes takes a shot. Darren Randolph makes a comfortable save.
Shot by Anthony Stokes from 25 yards. Shaun Hutchinson gets a block in.
Substitution Henrik Ojamaa goes off and Zaine Francis-Angol comes on.
Substitution Stewart Carswell joins the action as a substitute, replacing James McFadden.
Effort on goal by Anthony Stokes from deep inside the penalty area misses to the right of the goal.
Charlie Mulgrew decides to take the corner short. Patrick McCourt takes a shot from just outside the penalty area which clears the crossbar.
Mikael Lustig restarts play with the free kick.
Booking Keith Lasley booked for unsporting behaviour.
Unfair challenge on Gary Hooper by Keith Lasley results in a free kick.
Shaun Hutchinson concedes a free kick for a foul on Tony Watt. Emilio Izaguirre restarts play with the free kick.
Substitution Anthony Stokes is brought on as a substitute for Georgios Samaras.
James McFadden fouled by Patrick McCourt, the ref awards a free kick. Tom Hateley takes the direct free kick. Effort from just outside the box by Nicky Law goes over the bar.
Unfair challenge on Georgios Samaras by Stevie Hammell results in a free kick. Charlie Mulgrew delivers the ball from the free kick left-footed from right wing. Patrick McCourt takes a shot. Comfortable save by Darren Randolph.
Substitution Tom Rogic leaves the field to be replaced by Dylan McGeouch.
Michael Higdon takes a shot. Fraser Forster makes a comfortable save.
James McFadden takes a shot. Fantastic save by Fraser Forster. Tony Watt is flagged offside by the assistant referee. Free kick taken by Darren Randolph.
Corner taken by Charlie Mulgrew from the left by-line to the near post, Tom Hateley manages to make a clearance.
Shot from 20 yards from Henrik Ojamaa. Comfortable save by Fraser Forster.
Substitution Patrick McCourt joins the action as a substitute, replacing Thomas Rogne.
Chris Humphrey takes a shot from 18 yards. Fraser Forster makes a fantastic save. Outswinging corner taken by Tom Hateley from the right by-line played to the near post, clearance by Emilio Izaguirre.
Mikael Lustig takes the free kick.
Booking Booking for Michael Higdon for unsporting behaviour.
Michael Higdon challenges Beram Kayal unfairly and gives away a free kick.
Beram Kayal takes the chance to get an effort at goal. Save made by Darren Randolph.
Corner taken right-footed by Tom Hateley from the right by-line, Header by James McFadden from deep inside the penalty area misses to the right of the target.
Free kick awarded for a foul by Georgios Samaras on Tom Hateley. Tom Hateley takes the direct free kick.
Assist by Tom Hateley.
54:21 Goal scored
Goal! - Fraser Forster - Motherwell 3 - 1 Celtic Fraser Forster puts the ball into his own goal from 6 yards. Motherwell 3-1 Celtic.
The offside flag is raised against Henrik Ojamaa. Free kick taken by Fraser Forster.
Assist by Henrik Ojamaa.
49:26 Goal scored
Goal! - Michael Higdon - Motherwell 2 - 1 Celtic Placed penalty scored by Michael Higdon. Motherwell 2-1 Celtic.
Booking Charlie Mulgrew goes into the referee's book.
Henrik Ojamaa fouled by Charlie Mulgrew, the ref awards a Penalty.
Thomas Rogne gives away a free kick for an unfair challenge on James McFadden. Shot comes in from James McFadden from the free kick. Long range effort from Chris Humphrey misses to the left of the goal.
The game restarts for the second half.
45:00 +0:21 Half time
Half Time The first half comes to an end.
Keith Lasley provided the assist for the goal.
44:20 Goal scored
Goal! - Henrik Ojamaa - Motherwell 1 - 1 Celtic Goal scored by Henrik Ojamaa from just outside the penalty area to the bottom right corner of the goal. Motherwell 1-1 Celtic.
Stevie Hammell takes the free kick.
Booking Victor Wanyama is given a yellow card.
Victor Wanyama concedes a free kick for a foul on Keith Lasley.
Keith Lasley gives away a free kick for an unfair challenge on Georgios Samaras. Direct free kick taken by Charlie Mulgrew. Effort from 25 yards by Victor Wanyama. Blocked by Chris Humphrey.
Tony Watt provided the assist for the goal.
39:24 Goal scored
Goal! - Gary Hooper - Motherwell 0 - 1 Celtic Gary Hooper gets on the score sheet with a goal from close in low into the middle of the goal. Motherwell 0-1 Celtic.
Gary Hooper takes a shot.
Shot by Henrik Ojamaa from 18 yards. Comfortable save by Fraser Forster. Corner taken left-footed by Charlie Mulgrew from the right by-line, Stevie Hammell manages to make a clearance.
Tom Hateley decides to take the corner short. Shot from just outside the box by Chris Humphrey goes over the bar.
Shot by Gary Hooper. Save made by Darren Randolph. Shot by Victor Wanyama from just outside the area goes over the net.
The offside flag is raised against Tony Watt. Free kick taken by Darren Randolph.
Foul by Michael Higdon on Georgios Samaras, free kick awarded. Shot comes in from Charlie Mulgrew from the free kick, save by Darren Randolph.
Free kick awarded for a foul by Henrik Ojamaa on Tony Watt. Mikael Lustig takes the free kick.
Shot from close range by Gary Hooper misses to the left of the target.
Effort from deep inside the area by James McFadden misses to the right of the goal.
The referee gives a free kick against Henrik Ojamaa for handball. Charlie Mulgrew restarts play with the free kick.
Inswinging corner taken by Charlie Mulgrew from the right by-line, clearance made by Michael Higdon. Mikael Lustig concedes a free kick for a foul on Nicky Law. Direct free kick taken by Darren Randolph.
Unfair challenge on Victor Wanyama by Chris Humphrey results in a free kick. Victor Wanyama takes the direct free kick. Corner from the right by-line taken by Charlie Mulgrew, comfortable save by Darren Randolph.
Shot from 25 yards from Beram Kayal. Save made by Darren Randolph. Michael Higdon concedes a free kick for a foul on Charlie Mulgrew. Fraser Forster takes the direct free kick.
Unfair challenge on Georgios Samaras by Stevie Hammell results in a free kick. Free kick taken by Thomas Rogne.
Beram Kayal challenges James McFadden unfairly and gives away a free kick. Stevie Hammell restarts play with the free kick. Foul by Michael Higdon on Charlie Mulgrew, free kick awarded. Fraser Forster takes the free kick.
Tony Watt fouled by Simon Ramsden, the ref awards a free kick. Charlie Mulgrew takes the free kick. Header from deep inside the area by Thomas Rogne goes harmlessly over the crossbar.
Tom Hateley takes a short corner. A cross is delivered by Tom Hateley.
Foul by Thomas Rogne on Michael Higdon, free kick awarded. Keith Lasley takes the free kick.
Shot by Tom Rogic from deep inside the penalty area misses to the left of the target.
Charlie Mulgrew takes the free kick.
Booking Shaun Hutchinson goes into the referee's book.
Shaun Hutchinson concedes a free kick for a foul on Georgios Samaras.
Shot from just outside the box by Tony Watt goes over the bar.
Foul by Thomas Rogne on Michael Higdon, free kick awarded. Stevie Hammell takes the free kick.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.