Queen of the South notched their second consecutive victory as two successful set-pieces against Ross County lifted them off the bottom of Division One.
Queens were awarded a free-kick on the edge of the box in the 53rd minute.
Warren Moon ran over the ball and Graham Weir followed up to crack a shot that goalkeeper Craig Samson could only help into the back of the net.
Then, 15 minutes later, Willy Gibson floated in a cross and John O'Neil evaded the defence to head home.
Queen of the South: Scott, Paton, Lauchlan, McCaffrey, Scally, McKenzie, Moon (Swift 64), O'Neil, Gibson, Weir (Andy Thomson 74), Barrowman.
Subs Not Used: Corr, Jim Thomson, Henry.
Goals: Weir 53, O'Neil 70.
Ross County: Samson, Gary Irvine, Keddie, Dowie, McCulloch, Anderson (Gunn 59), Gardyn, Adams, Scott, Higgins (Caimi 40), McKinlay.
Subs Not Used: Malin, Robertson, Tiernan.
Ref: C Murray