Last updated on .From the section Scottish Premiership

Motherwell secured a sixth consecutive Scottish Premiership win after a calamitous stoppage-time error from Hearts goalkeeper Colin Doyle.

David Turnbull's tame free-kick, awarded after Ben Garuccio was sent off for a lunge at Liam Grimshaw, reared over Doyle's shoulder and into the net.

Teenager Jake Hastie had earlier lashed in his fourth goal in three games to put Motherwell in front.

But Steven Naismith lifted a delicate finish over Mark Gillespie to level.

The Scotland striker volleyed over a golden chance to win it in the second half, but instead Hearts missed the opportunity to edge closer to the top three and stay fifth.

Motherwell, too, spurned chances through Turnbull, Gboly Ariyibi, and Curtis Main but have moved back above Hibernian into seventh place.

Hosts edge end-to-end contest

Hearts looked sharp from the opening whistle but referee Nick Walsh turned down an early penalty claim when Jake Mulraney collided with Allan Campbell.

But the home side began to feel their way into the match with Hastie showing the pace and skills that have now brought five goals in six matches since his return last month from a loan spell at Alloa.

Given the chance to run at Christophe Berra, the 19-year-old teased the Scotland international before cutting onto his left foot and smashing the ball into the net. A top-class goal from a top-class prospect.

With Motherwell dominating possession, Hearts boss Levein pushed Naismith further forward alongside Uche Ikpeazu in a shrewd tactical switch which brought the equaliser.

The Scotland striker mis-hit his initial left-footed effort from Ikpeazu's cross but had the guile to lift the ball right-footed over Gillespie's head into the net for his 14th Hearts goal of the season, and 16th in all.

In a fascinating, end-to-end contest, on-loan Motherwell winger Ariybi showed his electric pace, burning past three defenders on one occasion only to find the side-netting at the end of his run.

Doyle was again called into action when Hastie was allowed space inside the box, Levein introducing Garrucio and moving to a more conventional back four to try to stem the tide.

Motherwell continued to push forward though, Doyle tipping over Turnbull's thumping drive before Garrucio cleared a Curtis Main header off the line with the keeper beaten.

Hearts also had chances, Gillespie saving well from both Ikpeazu and Berra before Naismith fired over from a tight angle as the visitors sought a winner.

But as the game entered a third minute of stoppage-time, Turnbull's free-kick appeared a comfortable take for Doyle, but the ball squirmed agonisingly out of his grasp to gift the home side all three points.

Turnbull's goal was his seventh in 21 games this season

'Motherwell have a gem in Hastie' - analysis

What a dramatic ending at Fir Park and the supporters attending certainly had their money's worth after a battling display.

Motherwell have undoubtedly uncovered a gem in Hastie and, if the last few weeks are anything to go by, the youngster looks like he will go on and have a sterling career in the game.

And in Turnbull they have a player of real creative talent. It was a shrewd piece of business in tying the youngster down on a long-term deal.

For Hearts the return of Ikpeazu from injury has been pivotal, with his strength and link-up play with giving Hearts a constant threat.

Naismith's flick for the equaliser was a terrific piece of skill and should he decide to remain at Tynecastle, it could be the best piece of business Hearts have done for some time.

'We brought it on ourselves' - reaction

Motherwell manager Stephen Robinson: "It was a strange way to win. I thought their goalkeeper was excellent throughout the day so it's unfortunate he makes a bit of a mistake.

"A draw was maybe a fair result because both teams went for it but we had the better chances and it continues our run."

Hearts manager Craig Levein: "I thought there wasn't an awful lot in the game. What's cost us are two crazy situations that we brought upon ourselves.

"Putting my old-school hat on, I thought Garuccio won the ball. Taking a step back and thinking 'what constitutes a red card in modern football?' he's gone with two feet off the ground. I find it very difficult to defend him, it's a crazy decision.

"Colin put his hands up to the rest of the lads and apologised for making the errors. This error unfortunately has cost us dearly."