An injury-time equaliser by 10-man Bonnyrigg all but ended Linlithgow’s title hopes in the battle of the Roses at Prestonfield on Wednesday night.
Davie McGlynn’s men needed a win to have any hope of overhauling the long-time leaders, but it was the visitors who started on the front foot.
Lewis Turner shot wide and a Fraser McLaren shot crashed off the bar in the opening three minutes.
For Linlithgow Kevin Kelbie sent an effort wide and Colin Strickland had a shot blocked before a Ryan Baptie free-kick went just over.
Bonnyrigg dominated much of the first half but it was Linlithgow who went ahead five minutes from the break when Blair Batchelor crssed for Kelbie to head past Michael Andrews.
Bonnyrigg might have equalised moments before half-time but McLaren’s shot crashed off the underside of the bar and bounced on the line before Ally Adams flapped the ball away.
Linlithgow were much better after the restart and extended their lead within three minutes, Batchelor skipping past the defence and finding the corner of the net with a low shot.
Bonnyrigg’s Dean Hoskins was lucky to escape with a yellow after bringing down Batchelor but Ruaridh Donaldson was less fortunate on the hour when he was red-caeded for a foul on the same player.
It looked an uphill struggle for the visitors but in 71 minutes Kieran McGachie latched onto a Colin Leiper clearing header and slotted home to give them a glimmer of hope.
And on 94 minutes, after Tommy Coyne was dispossessed near halfway, a cross into the box was headed home by Kerr Young.