Battling Hearts fought for a crucial three points against St Mirren as they jumped into second spot in the league.
The Jambos supporters saw their side get back to winning ways and leapfrog Celtic as they continued their positive push at the top of the table.
Robbie Neilson's men dominated the opening stages but St Mirren always looked like they could hurt the home side on the counter attack.
The first real effort of the game came from St Mirren's Eamonn Brophy as he lashed a shot wide from the edge of the box. Jamie McGrath fired a free-kick into the wall shortly afterwards.
Jim Goodwin's men should've been ahead as Charles Dunne managed to stab an effort straight at Craig Gordon after a goalmouth scramble.
Greg Tanser was forced off with injury at the half hour mark but you could see St Mirren's confidence growing and the Tynecastle faithful were becoming restless.
Liam Boyce had the perfect opportunity to ease frustrations as he found himself one on one with Jak Alnwick on the stroke of half-time. But the Northern Irish hitman hesitated in front of goal and hit it straight at the former Rangers goalkeeper.
After a chorus of boos at the interval, Gary Mackay-Steven latched on to a deep cross and turned it goalwards but Alnwick stood up to it.
The hosts ramped up the intensity in the second half but Saints continued to break with regularity. Scotland No.1 Craig Gordon had to make three smart saves inside a minute to keep his side in the game.
There was a feeling that St Mirren had had their chances and missed them. Shortly after at the other end, Alnwick had to be smart to stop Michael Smith's driven effort.
Hearts' breakthrough came on the hour mark as Mackay-Steven pounced on a loose ball which he slotted into the corner of the net.
Whatever Robbie Neilson's half-time message was, it looked to have worked wonders. As the second half wore on, St Mirren were struggling to live with Hearts' marauding wing-backs.
Stephen Kingsley is making a name for himself as a free-kick specialist and he was at it again. 15 minutes from time, the 27-year-old curled one in from long range to put the death nail in St Mirren's chances.
Despite fighting valiantly all afternoon, Joe Shaughnessy was sent off in injury time after showing his frustration by hauling down Cameron Devlin.
Here's three talking points from the Hearts revival.
Boyce on the way back
The Jambos' front three poses a threat to any team in Scotland, that's a fact. But the re-inclusion of Liam Boyce acting as a beacon through the middle gives them another dimension, which Robbie Neilson's men had been missing in recent weeks. The hitman clearly isn't back to full fitness yet and St Mirren's bolshy defenders didn't give him any mercy, but he was pivotal throughout despite not getting on the scoresheet. His tendency to drop deep helped Hearts pull Saints players out of position to create chances as the second half wore on.
Hearts set the tempo
The difference between Hearts' first and second half showings was monumental. Robbie Neilson's sides are notoriously agricultural but that cannot be applied to the current class of Tynecastle. If anything, in the first half, Hearts wanted to cling to the ball at all costs rather than taking a gamble going forward. A key element of a 3-4-3 formation is the flying full-backs. Michael Smith and Andy Halliday became much more engaged in play in the second half, which saw St Mirren's stubborn back three become stretched for the first time. It's no surprise that once the hosts used the flanks and attacked at pace, they won the game and could've bagged a few more goals.
St Mirren for the top six?
Hearts have been used to playing against sides who come to Tynecastle and camp inside their own box. St Mirren weren't scared to press the home side and looked handy in possession. Goodwin's Buddies have the perfect blend of young, hungry talent and streetwise defenders to bolster them. Charles Dunne and Joe Shaughnessy did an excellent job of marshalling fit-again Liam Boyce. The Buddies haven't made the top six in their history but with this talented squad, led by Jim Goodwin, they're in with a real chance of making history this season.