Two second-half goals earned Queens Park a fine win at Stark's Park to put a dent in Raith's title challenge.
After a goalless first-half the visitors took the lead after 49 minutes through Paul Cairney.
Rovers produced a late rally to try and save a point and substitute goalkeeper
Scott Murray had to dive full length to push away Steve Hislop's header.
Queens, though, wrapped up the points in injury time when Cairney slotted the ball home from close-range.
Raith: Fahey, Wilson, Dingwall (Weir 77), Campbell, Andrews,
Davidson (Winter 46), Borris (Carcary 63), Walker, Hislop,
Subs Not Used: Tod, Brown.
Queens Park: Cairns (Murray 78), Paton, Dunlop,
Ronald (Quinn 67), Agostini, Trouten, Kettlewell, Cairney,
McGrady (Boslen 87), Canning, Ferry.
Subs Not Used: Molloy, Dunn.
Booked: Cairney, Trouten.
Goals: Cairney 49, 90.
Ref: A Boyd (Scotland).