Airdrie United won the Lanarkshire derby with virtually the last kick of the game from Alan Gow.
The visitors should have gone ahead when Colin Cramb sent Jean Phillipe-Javary, charging forward.
But with the target gaping the Frenchman chose to pass to Mark Corcoran, who was flagged offside.
The Diamonds clinched the points when Stephen McKeown threaded the ball to Gow, who rounded 'keeper David McEwan before firing into the net.
Airdrie Utd: McGeown, McKenna, Lovering, Docherty, McManus, Dunn (McLaren 62), Vareille (Barkey 89), Marvyn Wilson, Coyle (Roberts 74), Gow, McKeown. Subs Not Used: William Wilson, Hollis.
Booked: Docherty, Lovering. Goal: Gow 90.
Hamilton: McEwan, Paquito, Hodge, Thomson, McLaughlin, Javary (Hamilton 45), Ferguson, Hardy (McPhee 72), Cramb (Carrigan 69), Mahouve, Corcoran. Subs Not Used: McArthur, Jellema.
Ref: H Dallas