Marc McNulty's strike was enough to give Livingston a 2-1 win over Hamilton in a bad tempered affair.
It took less than a minute for the home side to go ahead, Steven May lashing in from close range, but Livingston hit back two minutes later when Stefan Scougall fired home from the edge of the area.
The winner came after nine minutes when McNulty got on the end of Anthony Andreu's inviting cross to slot home from 12 yards.
Both sides were reduced to 10 men in the second half. First, Alexander Neil was given a straight red for a dangerous tackle on Jesus Garcia Tena midway through the half, and after 73 minutes, Grant Gillespie saw red for a second booking.