Brian Graham scored a timely hat-trick as Ross County all but secured their promotion to the Ladbrokes Premiership with a 3-1 come-from-behind victory at Ayr.
The Staggies' nine-point lead over second-placed Dundee United, who only have three games remaining, and huge goal-difference advantage means they are now highly unlikely to be usurped from top spot.
Graham missed an early chance from a corner before play-off hopefuls Ayr took the lead in the 11th minute, Calvin Miller scoring at the back post from a Nicky Cadden cross.
Ross Doohan tipped a Graham header over the bar as the Staggies fought back and, four minutes before the break, the latter smashed home from nine yards by connecting with a fine pass from Josh Mullin.
Imposing frontman Graham picked up where he left off as soon as the second half began, his header from close range giving Ross County the lead.
In the 71st minute the ex-Dundee United striker completed his treble, also boosting the Staggies 20 clear of his former club in the goal-difference column, after Michael Gardyne whipped in a cross.
ga('create', 'UA-72310761-1', 'auto', {'name': 'pacontentapi'});
ga('pacontentapi.set', 'referrer', location.origin);
ga('pacontentapi.set', 'dimension1', 'By Press Association Sport staff');
ga('pacontentapi.set', 'dimension2', '6782db64-86aa-474c-b91f-5d698a85f7da');
ga('pacontentapi.set', 'dimension3', 'paservice:sport,paservice:sport:football,paservice:sport:match-reports');
ga('pacontentapi.set', 'dimension6', 'story');
ga('pacontentapi.set', 'dimension7', 'composite');
ga('pacontentapi.set', 'dimension8', null);
ga('pacontentapi.set', 'dimension9', 'sport:football');
ga('pacontentapi.send', 'pageview', { 'location': location.href, 'page': (location.pathname + location.search + location.hash), 'title': 'Graham treble has Ross County on the brink'});