DUNDEE ended a run of seven consecutive defeats to overcome Motherwell 3-2 in a thriller at Fir Park.
Mark O’Hara got the Dens Park side’s opener on the stroke of half-time and Marcus Haber doubled their advantage shortly after the turnaround.
However, Louis Moult replied with his 17th goal of the season in the 50th minute, but O’Hara restored the Tayside outfit’s two-goal advantage with a diving header six minutes later.
The hosts grabbed a second goal 10 minutes from time through Chris Cadden, but the Dark Blues, with caretaker gaffer Neil McCann in charge, held on for victory.
The result means Dundee have taken 10 points out of 12 against the Fir Park side this season, while moving them out of the relegation play-off position to be replaced by Well.
At Tynecastle, Hearts and Partick Thistle shared four goals all of which arrived in the second half of their 2-2 draw.
There was very little to excite the crowd until the 40th minute when Andraz Struna struck the bar. Against the run of play, Kris Doolan headed the Jags in front when he met a Steven Lawless cross to score from six yards in the 50th minute.
The hosts equalised in the 68th minute with a penalty-kick from Esmael Goncalves following Thistle’s Danny Devine’s red card for handling the ball.
Four minutes later, the 10-man Maryhill outfit were back in front thanks to Lawless, but two minutes from time the Edinburgh side were level as Struna took advantage of a loose ball to make it 2-2.
First-half goals by Conor Sammon and Jordan Jones earned Kilmarnock a vital 2-0 win at Hamilton Accies.