Mark Stewart's stoppage-time strike gave Raith Rovers victory over Queen of the South and moved them up to third.
Queens carved several openings with Stephen Dobbie among those off target in the first half.
Dobbie also threatened with a free-kick as time began to run out, Kevin Cuthbert making the save.
But Stewart slid in to settle the match and Rovers now trail Dundee United by one point and Championship leaders Hibernian by four.
The Doonhamers slip to fourth, two points behind their victors.
Raith Rovers
- 1Cuthbert
- 14Davidson
- 5MvotoBooked at 82mins
- 6Benedictus
- 3McHattie
- 12Matthews
- 21ThompsonSubstituted forSkacelat 89'minutes
- 4Callachan
- 7JohnstonSubstituted forRobertsat 75'minutes
- 9Stewart
- 20McManusBooked at 42minsSubstituted forVaughanat 65'minutes
Substitutes
- 10Vaughan
- 16Coustrain
- 17Lennox
- 18Roberts
- 19Skacel
- 23Brennan
- 25Smith
Queen of Sth
- 1Robinson
- 5Brownlie
- 6Higgins
- 4Dowie
- 3Marshall
- 7AndersonSubstituted forBrotherstonat 62'minutes
- 14JacobsBooked at 90mins
- 17PickardSubstituted forMillarat 69'minutes
- 25Dykes
- 11Dobbie
- 12Rigg
Substitutes
- 8Millar
- 19Moxon
- 20Atkinson
- 29Bell
- 31Nelson
- 32Fergusson
- 35Brotherston
Referee:Crawford Allan
Attendance:1,244
Images courtesy of www.qosfc.com