Ronan Hale converted a stoppage-time penalty as Livingston and Ross County drew 1-1 in the first leg of the William Hill Premiership play-off final.
Defender Danny Wilson fired Livi in front right at the end of the first half but Hale kept his nerve to score a 95th-minute equaliser from the spot following a VAR intervention.
The second leg takes place in Dingwall on Monday, live on Sky Sports at 8.00pm.