Dylan Easton scored a first-half double as Raith beat Ayr 2-1 in the cinch Championship.
Easton opened the scoring after 24 minutes when Sam Stanton found him on the edge of the box.
The pair combined again two minutes later with Easton producing another clinical finish for second-placed Rovers.
Anton Dowds halved the deficit five minutes after the break, but Ayr have now lost five of their seven league games.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.