Kilmarnock inflicted a fifth Scottish Premiership defeat in a row on Motherwell in a five-goal thriller at Rugby Park to lift Neil McCann's side off the bottom of the table.
The game began with the worst possible start for struggling Motherwell, who were a goal down after a minute in Ayrshire.
A poor pass from goalkeeper Alex Paulsen was pounced on by the hosts as Tyreece John-Jules teed up Greg Kiltie, who smashed his strike into the bottom corner.
Motherwell were level after 17 minutes, though, courtesy of Alex Lowry. Emmanuel Longelo's cross found Seb Palmer-Houlden in the box, his shot was saved by Calum Ferrie, but Lowry raced in to fire home at the second attempt.
After a hectic start to the second half, Kilmarnock looked to have been reduced to 10 men when George Stanger was shown a straight red after a challenge on Lowry. But, after a look at the monitor, referee Calum Scott reduced it to a booking.
Motherwell took the lead for the first time when Palmer-Houlden turned in Ibrahim Said's cross from close range, but that lead was short-lived. John-Jules levelled just two minutes later when his left-footed strike found the bottom corner.
Kiltie fired the hosts back in front when he latched on to the cross from Jamie Brandon and fired low into the far corner and that proved enough to take the points.
The win not only moves Kilmarnock off bottom spot, but it puts them level on points with Saturday's 10th-placed opponents.