Derek Lyle scored the winner as Queen of the South came from behind to beat Livingston.
Five minutes from half-time Livi's Marc McNulty scored from the spot after Gavin Reilly had fouled Burton O'Brien.
The visitors equalised 10 minutes after the break when Mark Durnan found the bottom corner of Darren Jamieson's net.
Queens made it 2-1 in the 79th minute when Lyle stroked home after Jamieson had kept out Bob McHugh's effort.
This win puts Queens right back in the mix for a play-off place and next week's fixture against Falkirk at Palmy is huge.
Lineup, Bookings (4) & Substitutions (5)
Livingston
- 01 Jamieson
- 02 Mampuya
- 03 Talbot Booked
- 08 O'Brien
- 05 Fordyce
- 04 Mensing
- 07 Jacobs
- 06 Scott (Habai - 80' Booked )
- 27 Burchill (Barrowman - 65' )
- 09 McNulty
- 15 Docherty (Denholm - 65' )
Substitutes
- 11 Denholm
- 14 Habai
- 17 Walker
- 19 Sives
- 22 Barrowman
- 31 Praprotnik
- 48 Mullen
Queen of the South
- 01 Atkinson
- 02 Mitchell Booked
- 03 Holt
- 08 Burns Booked
- 06 Dowie
- 05 Durnan
- 04 McKenna
- 07 Reilly (Lyle - 62' )
- 10 Paton (Carmichael - 67' )
- 09 McHugh
- 11 McShane
Substitutes
- 12 Antell
- 14 Lyle
- 15 Carmichael
- 16 Dzierzawski
- 17 Slattery
- 18 Hooper
- 19 Shitu