Rory Boulding bagged a brace as Livingston beat Partick Thistle in Scottish Division One.
It was the home side that took the lead, Paul Cairney picking up Aaron Sinclair's pass and firing home in the seventh minute.
Boulding levelled for Livi 13 minutes later with a shot from long range and he bagged his second just after the break, forcing Stefan Scougall's pass over the line.
Another effort from distance, this time by Iain Russell, stretched the visitors' lead before Sinclair's impressive free-kick pulled one back for Thistle.
Scully, O'Donnell, Archibald, Robertson (McGuigan 75), Sinclair, Paton, Cairney, Rowson (Bannigan 25), Erskine, Doolan, Welsh. Subs Not Used: Fox, Elliot, Naismith.
: Robertson, Bannigan.
Cairney 7, Sinclair 54.
McNeil, McCann, Fordyce, Craig Barr, Scougall, Robert Barr (Sinclair 59), Kyle Jacobs, Keaghan Jacobs, Iain Russell (Ross Docherty 70), McNulty, Boulding. Subs Not Used: Jamieson, Watson, McDonald.
Boulding 20, 47, Iain Russell 50.