Raith Rovers stayed level on points with Division Two leaders Ross County after a comfortable victory over a depleted Ayr United side.
Skipper Marvin Andrews bundled home a Robert Sloan corner in the 21st minute.
Ryan Borris hit the Ayr post before Mark Campbell added the second in the 39th minute, heading home an inviting free-kick from Sloan.
Sloan capped a fine display in the 53rd minute when he reacted first after Joe Dingwall's shot came back off the post.
Ayr: McGeown, Forrest, Henderson, Campbell (Casey 8), Lowing, Pettigrew, Stevenson, Weaver (A Trialist 63), Dunn (Woodburn 82), Robertson, Vareille.
Subs Not Used: Stewart, B Trialist.
Booked: Dunn, Pettigrew.
Raith: Fahey, Wilson, Campbell, Andrews, Dingwall, Borris (Carcary 73), Davidson, Goodwilly (Weir 68), Walker (Winter 81), Hislop, Sloan.
Subs Not Used: Renton, Tod.
Goals: Andrews 21, Campbell 39, Sloan 53.
Ref: C Brown