Queen of the South 2 Livingston 0
Home manager Ian McCall was obviously delighted and praised his players for the way they fought their way back after some early scares.
He said: "They showed commitment and played their hearts out and I feel we fully deserved the points."
His Livi counterpart John Robertson, on the other hand, was disappointed.
Robertson said: "We had the early chances and either failed to take them or had them saved by their keeper."
And certainly it was goalkeeper Colin Scott who prevented Livingston making an early breakthrough with a point-blank save in the opening minutes.
Steve Hislop swung a cross in from the right and the ball was dummied by Steven Craig for Joe Hamill to crack in a drive from only six yards, but the keeper somehow managed to turn it to safety.
Livingston saw goalkeeper Scott again come to Queens' rescue before they eased the pressure and allowed the Dumfries men in for the final phases of the opening half.
Queens made the breakthrough after 67 minutes with their first home goal of the league campaign.
Substitute Andy Thomson, who had come on just moments earlier, ghosted his way past the Livingston defenders to turn a free-kick from Willie Gibson into the net.
The Dumfries side took up the running and could have made it 2-0 minutes later when Andrew Barrowman beat the Livingston defenders only to find goalkeeper Colin Stewart blocking his effort.
But Queens clinched the points four minutes from time when Barrowman strode down the wing and sent over a cross which saw Thomson hit the net again by diving full-length to pip the keeper.