Greig Spence's late goal gave Hamilton Accies a win that dents Partick Thistle's promotion hopes in Division One.
Paul Cairney picked his spot from distance as Thistle threatened first, but Accies defender Martin Canning got across to cover.
Dougie Imrie's response was to drill a free-kick against the visiting wall after Darren Cole had conceded a foul in dangerous territory.
And Hamilton's James McAlister went closest to breaking the deadlock as a drab first half drew to a close, scooping his left-footed drive wide of Scott Fox's goal.
It was Imrie with his head in his hands after the restart as he bustled into space only to skew the ball over the crossbar.
Jags striker Kris Doolan then fired wide of the target when set free down the right channel.
However, in the 87th minute, Spence bagged all three points for the hosts, stealing into the six-yard box to turn home Grant Anderson's cross.
To add insult to injury for the visitors from Glasgow, a frustrated Alan Archibald saw red for a violent challenge on Imrie just before the final whistle.
Hamilton: Cerny, Kilday, Mensing, Canning, Hendrie, McAlister, Neil, Redmond (Crawford 69), Andy Ryan (Anderson 46), McShane (Spence 63), Imrie. Subs Not Used: Hutton, Gordon.
Booked: McAlister, Kilday.
Goals: Spence 87.
Partick: Fox, O'Donnell, Cole, Archibald, Sinclair, Paton, Cairney (Stewart 85), Rowson, Naismith (Elliot 74), Doolan, Burns (Erskine 60). Subs Not Used: Scully, Scott Robertson.
Sent Off: Archibald (90). Booked: Cole.
Ref: Mike Tumilty