Match ends, Raith Rovers 1, Cowdenbeath 2.
Cowdenbeath kept alive their hopes of escaping the relegation play-offs with victory in the Fife derby in Kirkcaldy.
Reece Donaldson missed an early chance for the hosts before Rory McKeown lobbed Cowden into the lead.
Lewis Milne added the second from close range with nine minutes left working himself an opening.
Substitute Greig Spence pulled a goal back for Rovers, running on to Calum Elliot's ball and tucking through Thomas Flynn's legs.
They could not force a leveller that would have made the hosts arithmetically safe from relegation trouble.
However, Rovers are still three points ahead of second-bottom Cowden with only one game remaining and have a much better goal difference.
The Blue Brazil have edged to within a point of Alloa Athletic, who lost at home to Dundee, and host Queen of the South in their final game.
Alloa are away to promotion-chasing Falkirk.
- 7CardleSubstituted forSpenceat 76'minutes
- 10ElliotBooked at 90mins
- 15SmithSubstituted forAndersonat 67'minutes
- 14BrettSubstituted forGoldat 90+2'minutes
- 4O'BrienSubstituted forMillerat 85'minutes
- 18MilneBooked at 62mins
- 26KaneSubstituted forRobertsonat 25'minutes
- Brian Colvin
- Shots on Target
Second Half ends, Raith Rovers 1, Cowdenbeath 2.
Hand ball by Fraser Mullen (Raith Rovers).
Substitution, Cowdenbeath. David Gold replaces Dean Brett.
Attempt saved. Grant Anderson (Raith Rovers) header from outside the box is saved in the centre of the goal.
Calum Elliot (Raith Rovers) is shown the yellow card.
Kyle Miller (Cowdenbeath) wins a free kick on the left wing.
Foul by Calum Elliot (Raith Rovers).
Goal! Raith Rovers 1, Cowdenbeath 2. Greig Spence (Raith Rovers) right footed shot from the centre of the box to the centre of the goal.
Attempt missed. Kane Hemmings (Cowdenbeath) right footed shot from the left side of the box is too high.
Substitution, Cowdenbeath. Kyle Miller replaces Thomas O'Brien because of an injury.
Corner, Raith Rovers. Conceded by Nathaniel Wedderburn.
Goal! Raith Rovers 0, Cowdenbeath 2. Lewis Milne (Cowdenbeath) left footed shot from very close range to the bottom right corner. Assisted by John Armstrong.
Attempt saved. Lewis Milne (Cowdenbeath) left footed shot from a difficult angle on the right is saved in the bottom right corner.
Corner, Raith Rovers. Conceded by Thomas O'Brien.
Attempt blocked. Grant Anderson (Raith Rovers) right footed shot from the right side of the box is blocked.
Substitution, Raith Rovers. Greig Spence replaces Joe Cardle.
Foul by John Baird (Raith Rovers).
Nathaniel Wedderburn (Cowdenbeath) wins a free kick in the defensive half.
Corner, Raith Rovers. Conceded by Dean Brett.