Goals from Josh Edwards and Matty Todd helped Dunfermline see off potential play-off rivals Airdrie with a 2-1 win at the Excelsior Stadium.
The visitors had to survive a pair of early scares with keeper Deniz Mehmet tipping a Josh Allen header onto the bar before Nikolay Todorov also headed against the woodwork.
Edwards grabbed the opener after a neat pass from Lewis McCann and Dunfermline doubled their advantage midway through the second half through Todd’s finish.
Airdrie continued to press with Mehmet tipping a header from Calum Gallagher over the bar then saving point-blank from Callum Fordyce.
The Diamonds finally made their breakthrough deep into injury time when Gallagher slotted home a consolation from the penalty spot.
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.