Match ends, St. Johnstone 1, Partick Thistle 2.
Abdul Osman blasted a late winner for Partick Thistle to prevent St Johnstone moving into second place in the Scottish Premiership.
Kris Doolan touched home at the back post after a free-kick to give Thistle the lead after 17 minutes.
But Saints swept to the other end from the restart and Steven MacLean fired in the equaliser from eight yards.
Ade Azeez and Ryan Edwards had already gone close for Thistle before Osman found the top corner from 16 yards.
Thistle's second away victory of the week on their travels east - they beat Dundee on Wednesday - moves Alan Archibald's side up to seventh.
Saints, meanwhile, drop to fifth having been brought back down to earth after their fine 1-1 draw away to Rangers in midweek.
Jagged into action
Thistle would have taken the lead with just over a minute played had it not been for quality defending from Brian Easton.
Azeez produced a neat piece of skill to set himself up for a shot eight yards out, but just as he pulled his foot back to strike the ball, Easton slid in with a timely tackle to clear the danger.
Danny Swanson produced the best piece of early skill for the home side, on their 600th competitive match at McDiarmid Park, when he nutmegged Edwards at the edge of the area before releasing a shot that goalkeeper Thorsten Stuckman did well to save.
Minute madness
However, the visitors did make the break through after Liam Craig was penalised for a needless foul midway inside his own half on Azeez.
From the resultant free kick delivered by Sean Welsh, Danny Devine rose highest at the back post and his headed effort was turned home from close range by the merest of touches from Doolan.
It was another example of the striker's poacher instincts that produced massive celebration from the visiting players, but their joy was short lived.
Less than 60 seconds after the restart, Saints were back on level terms. After neat play down the left, they manoeuvre themselves inside the Thistle box.
David Wotherspoon turned and found MacLean with a square pass and, from eight yards, he slotted the ball behind Stuckman for his seventh goal of the season.
Christie Elliot came close to regaining the lead for Thistle when his shot from the right edge of the box took a deflection off Easton, but Zander Clark's quick reaction touched it round for a corner.
Saints had a couple of early ventures forward in the second half when Paul Paton had a shot that went wide and Wotherspoon's cross clipped the top of the bar.
Confident Clark eventually beaten
Clark has consolidated his position as Saints' first choice goalkeeper in recent months and his contribution once more, in his eighth successive appearance since taking over from Alan Mannus, showed his talent as Thistle sought a second goal.
Azeez was first to be denied as his 20-yard strike looked destined for the bottom corner until Clark stretched to parry.
Edwards then was thwarted as he got in behind the home defence in the box to create the opening.
However, one minute into stoppage time, Thistle found a way past the big goalkeeper and there was nothing he could do to prevent the Glasgow side claiming the three points.
Substitute David Amoo turned Craig inside out before providing the pass for Thistle skipper Osman to blast the ball into the top corner of the net from 10 yards for his first goal of the season.
What the managers said
St Johnstone's Tommy Wright: "If you defend how we did for both goals then you concede goals.
"When you get into injury-time you should see the game out, but we didn't because we make a bad mistake and get punished for it.
"Rightly so. We were the architects of our own downfall. Liam (Craig) shouldn't be there, I don't know why he's there. Joe Shaughnessy can clear the ball and Liam's come into an area where he doesn't have to help."
Partick Thistle's Alan Archibald: "I thought we were strong in the second half. I was worried because we went with the same boys again, except the goalkeeper, for the third game in a row. But the energy levels were fantastic.
"It's been a good week. After dropping points against Ross County at home it looked tough but we've taken seven points from three hard fixtures.
"We now go into a run of games which is tough again but we've given ourselves a great platform to go and perform."
Line-ups
St Johnstone
Formation 4-4-2
- 12Clark
- 19Foster
- 6Anderson
- 14Shaughnessy
- 24Easton
- 11SwansonSubstituted forCoulsonat 73'minutes
- 18Paton
- 26Craig
- 10WotherspoonSubstituted forAlstonat 80'minutes
- 9MacLean
- 29CumminsBooked at 59minsSubstituted forKaneat 64'minutes
Substitutes
- 1Mannus
- 4Alston
- 7Millar
- 17Coulson
- 23Gordon
- 25Kane
- 39Comrie
Partick Thistle
Formation 3-5-2
- 35Stuckmann
- 15Devine
- 13BartonBooked at 77mins
- 5LindsayBooked at 90mins
- 14Elliott
- 19Edwards
- 6OsmanBooked at 90mins
- 4Welsh
- 3Booth
- 16AzeezSubstituted forAmooat 87'minutes
- 9DoolanSubstituted forErskineat 73'minutes
Substitutes
- 7Amoo
- 10Erskine
- 18Wilson
- 20McDaid
- 21Syme
- 23Gordon
- 33Cullen
- Referee:
- Barry Cook
- Attendance:
- 3,096
Match Stats
- Possession
- Home45%
- Away55%
- Shots
- Home11
- Away12
- Shots on Target
- Home4
- Away8
- Corners
- Home1
- Away5
- Fouls
- Home13
- Away13
Live Text
Post update
Full Time
Second Half ends, St. Johnstone 1, Partick Thistle 2.
Post update
Attempt missed. Paul Paton (St. Johnstone) left footed shot from outside the box is close, but misses to the left.
Booking
Abdul Osman (Partick Thistle) is shown the yellow card for excessive celebration.
Goal!
Goal! St. Johnstone 1, Partick Thistle 2. Abdul Osman (Partick Thistle) right footed shot from the centre of the box to the top left corner. Assisted by David Amoo.
Post update
Attempt missed. Joe Shaughnessy (St. Johnstone) header from the centre of the box misses to the right following a set piece situation.
Booking
Liam Lindsay (Partick Thistle) is shown the yellow card for a bad foul.
Post update
Christopher Kane (St. Johnstone) wins a free kick in the defensive half.
Post update
Foul by Liam Lindsay (Partick Thistle).
Post update
Corner, St. Johnstone. Conceded by Adam Barton.
Substitution
Substitution, Partick Thistle. David Amoo replaces Adebayo Azeez.
Post update
Attempt missed. Michael Coulson (St. Johnstone) right footed shot from outside the box misses to the right.
Post update
Foul by Michael Coulson (St. Johnstone).
Post update
Abdul Osman (Partick Thistle) wins a free kick on the right wing.
Post update
Foul by Richard Foster (St. Johnstone).
Post update
Chris Erskine (Partick Thistle) wins a free kick in the defensive half.
Post update
Joe Shaughnessy (St. Johnstone) wins a free kick in the attacking half.
Post update
Foul by Adebayo Azeez (Partick Thistle).
Post update
Attempt saved. Steven MacLean (St. Johnstone) left footed shot from outside the box is saved in the top centre of the goal.
Substitution
Substitution, St. Johnstone. Blair Alston replaces David Wotherspoon.