Allan Johnston's 51st-minute goal gave bottom club Queen of the South their first league win of the season against previously high-flying Hamilton.
Hamilton keeper Tomas Cerny saved well from Stephen McKenna's early header.
Gus MacPherson's forced a breakthrough when Johnston headed home from 12 yards following good work from Alan Reid.
Substitute Nicky Clark thought he had doubled his side's lead moments before the full-time whistle but his strike rattled the crossbar.
Queen of South: Robinson, Alan Reid, Craig Reid, Campbell (McGuffie 68), Higgins, Simmons, Johnston, McKenna, McLaughlin, Brighton (Clark 74), Smith (Carmichael 64). Subs Not Used: McKenzie, Black.
Booked: McKenna, Simmons.
Goals: Johnston 51.
Hamilton: Cerny, McAlister, Gordon, Canning, Hendrie (Devlin 62), Imrie, Chambers (Currie 62), Gillespie, Crawford, Paterson (McLaren 62), Spence. Subs Not Used: Hutton, Lyle.
Ref: Charlie Richmond