Brian Graham hit a hat-trick as Raith Rovers edged out Falkirk in an exciting game to ease their relegation worries.
Falkirk took the lead after eight minutes when the First Division's top scorer Farid El Alagui picked the ball up 12 yards from goal and coolly slotted home.
Rovers equalised midway through the first half from the spot after Kieran Duffie fouled Graham, who picked himself up to place his penalty in the bottom corner.
Graham got his second on the stroke of half-time, sweeping in a John Baird cross from close range.
Falkirk levelled after 67 minutes when El Alagui set up Blair Alston, who emphatically volleyed home.
But a minute later Baird found Graham in the box who smashed home an unstoppable volley.
Falkirk: McGovern, Duffie, Dods, Wallace, Kingsley (White 83), Weatherston, Jay Fulton (Alston 46), Sibbald, Gibson (Faulds 46), Mark Millar, El Alagui. Subs Not Used: Bowman, Rhys Bennett.
Booked: Duffie, Mark Millar, El Alagui. Goals: El Alagui 9,Alston 68.
Raith Rovers: McGurn, Jason Thomson, Ellis (Jonathan Stewart 41), Hill, Dyer, Jamie Walker (Williamson 80), Murray, Allan Walker, Hamill, Baird (Casalinuovo 70), Brian Graham. Subs Not Used: Laidlaw, McBride.
Booked: Murray, Jonathan Stewart.
Goals: Brian Graham 24 pen,45,69.
Ref: Bobby Madden