There was late drama at Ochilview as Stenhousemuir eased their relegation fears win a win over Ayr.
Simon Lynch connected with Stephen Murray's cross to gibve the home side an early lead.
Ayr dominated for long spells but could not find a breakthrough with Ryan McCann hitting the woodwork.
Mark Roberts finally netted for the visitors with seconds left, but Mike Devlin headed home in injury time to keep the points for the Warriors.
Stenhousemuir: Brown, Lyle, Devlin, Fusco, Dickson, Anderson (Hunter 76), Lynch (Sloane 69), Gilmuir (Quinn 79), Murray, Dalziel, Paton.Subs Not Used: McCluskey, Clark.
Booked: Fusco, Devlin, Dalziel.
Goals: Lynch 3, Devlin 90.
Ayr: Martin, Lauchlan, Tiffoney, Campbell (Easton 60), Smith, Trouten, McLaughlin, McCann, Bannigan (Roberts 75), Rodgers, Moffat.Subs Not Used: Crawford, Woodburn, Robertson.
Goals: Roberts 90.
Ref: Bobby Madden (Scotland).