Jonathan Brown scored the only goal as Livingston beat Elgin to move Gary Bollan's men three points clear at the top of the Scottish Third Division.
Livi were restricted to trying long-range efforts to open the scoring and it wasn't until the 50th minute that Brown tested Elgin's John Gibson.
The home side looked better after the break as they pushed for the winner.
And they eventually took the lead in 72 minutes when Keaghan Jacobs crossed for Brown to head home from six yards.
McKenzie, Brown, Talbot, Hamill (Sinclair 57), Watson, MacDonald, Fox, Keaghan Jacobs, De Vita (Halliday 57), R Winters (McNulty 71), Barr
Subs not used: Griffin, McDowall
Gibson, MacDonald, Tatters, Niven, DW Craig, Morrison, Gunn, MacAulay, Frizzell (Inglis 77), Sutherland (Cameron 78), Crooks (Calder 83).
Subs not used: Michael Dunn, Steven Dunn
Referee: B. Colvin