Jonathan Tiffoney's second-half header helped rock-bottom Ayr claim a draw with fellow strugglers Raith.
The hosts had won all three fixtures between the sides this season and although they fell behind to John Baird's strike, Tiffoney ensured the spoils were shared.
The opening half was a quiet affair in which neither side could fashion any meaningful chances but Baird gave Rovers the lead three minutes before the interval with a low finish from David Smith's left-wing cross.
Substitute Mark Roberts' header was saved by Raith goalkeeper David McGurn as Ayr tried to fight back and their attacking intent was rewarded when Ryan Connolly's centre from the left was headed home by Tiffoney just after the hour.
Another Roberts header produced a wonderful save from McGurn, who also had to tip away Andrew Geggan's 35-yard strike to ensure the visitors claimed a valuable point in their battle for safety.
Ayr: Cuthbert, Ross Robertson (McManus 46), John Robertson, Smith, Geggan, Tiffoney, Trouten, McKernon, Wardlaw (Roberts 54), Moffat (Connolly 54), McGowan.Subs Not Used: McWilliams, Burke.
Booked: Tiffoney, McKernon.
Goals: Tiffoney 63.
Raith: McGurn, Donaldson, Hill, Murray, Ellis, Allan Walker, Davidson (Williamson 11), Jamie Walker (Holt 73), Hamill, Baird, Smith, Williamson (Thomson 70).Subs Not Used: Roy, Reynolds.
Booked: Allan Walker.
Goals: Baird 42.
Ref: John McKendrick