First Division leaders Morton saw their unbeaten away record end with a defeat to seventh-placed Hamilton.
David O'Brien placed a low drive into the bottom corner of the Accies goal from 16 yards after eight minutes.
But Derek Gaston turned Gary Fisher's corner into his own net to level.
The Accies went ahead as Ziggy Gordon curled a stunning 25-yard effort into the top corner and the desperate Ton could not find an equaliser in the remaining 32 minutes.
Striker Peter Weatherson had their best chance of the second half, volleying wide from the edge of the area.
The victory was a welcome one for Accies manager Billy Reid whose side had gone five games without a win
The result leaves the Ton two points clear of Partick Thistle, but the Jags have two games in hand.
Hamilton: Cuthbert, Gordon, Canning, Devlin, Gillespie, Neil, Mackinnon (Ryan 87), Fisher, Routledge, Longridge, May. Subs Not Used: Christie, Hendrie, Kilday, Fraser.
Booked: Devlin, Fisher, Ryan.
Goals: Gaston 35 og, Gordon 58.
Morton: Gaston, Taggart, Rutkiewicz, O'Ware, Dyer, Bachirou, Hardie (Weatherson 62), Tidser, Graham (Wilkie 75), McMenamin (Campbell 71), O'Brien. Subs Not Used: Hutton, Halsman.
Booked: Hardie, Rutkiewicz, O'Ware.
Goals: O'Brien 8.
Referee: Kevin Clancy