Hamilton hauled themselves off the foot of the Premiership with their first win in 12 games, against a sorry Hearts at New Douglas Park.
Mickel Miller was the hero, scoring one and setting up another for Will Collar, with both goals coming in the second half.
While Ollie Bozanic pulled a goal back for Hearts it wasn't enough to change the outcome.
The win was badly needed for Hamilton, while Hearts ended up on the bottom of the pile at Christmas.
Hearts only have themselves to blame; having had plenty of possession and several corners, they simply didn't do enough with it.
Hamilton, for their part, took their chances brilliantly.
The first half was pretty even stuff; while Hearts dominated possession and had several coners, they didn't carve out too much for it, with Stevie Naismith volleying past and Craig Halkett heading off the bar.
At the other end, Accies striker George Oakley passed up a glorious chance to put his side ahead.
In the second half Hamilton showed up more, with Mickel Miller scoring a superb opener in 64 minutes, and providing ammunition for Collar's first Accies goal.
Hamilton boss Brian Rice made two changes to the side that lost at Aberdeen, with Alex Gogic and Steve Davies coming in for Johnny Hunt and Ross Cunningham.
Hearts boss Daniel Stendel has been tinkering with his side as he tries to find his best line-up, and made five changes to the team that lost at Celtic. Aaron Hickey, Aidan White, Sean Clare, Uche Ikpeazu and Naismith came in for Jamie Brandon, Christophe Berra, Ollie Bozanic, Jake Mulraney and Craig Wighton.
Hearts started the game well and looked very much in control, but didn't really create much with their possession.
As it was, Hamilton nearly scored with their first chance in 17 minute when Aaron McGowan's cross from the right was met with a diving header by George Oakley that flew just past the near post.
Hamilton had another chance in 23 minutes when Will Collar picked out Oakley but the striker didn't catch his shot right and keeper Joel Pereira took it at the second attempt.
Hearts carved their best chance of the match in 34 minutes when Hickey's cross from the right was knocked down by Steven MacLean for Naismith, but the Scotland striker volleyed past the left post corner.
Ikpeazu was, erm, creative to earn a free kick right on the edge of the box in 41 minutes, but Glenn Whelan's low free kick was well taken by Luke Southwood.
Hearts ended the half with a succession of corners and shots, with Halkett sending a looping header off the bar, before Ikpeazu fired over.
Hamilton started the second half strongly and took the lead in 64 minutes when Scott Martin played in Oakley and he in turn sent Mickel Miller through the middle to slam a shot into the top left corner.
Miller then turned provider in 73 minutes with a strong cross that reached Will Collar at the back post and he squeezed his shot in despite Joel Pereira's attempts to save.
Hearts pulled a goal back in 82 minutes when Bozanic rose to head in a Smith corner from the left.
The visitors nearly snatched a draw inside stoppage time when MacLean headed a cross down to Mulraney, but his shot was saved at point blank range by Southwood.
HAMILTON: Southwood, McGowan, Stubbs, Hamilton, McMann, Gogic, Martin, Collar (Hunt, 90+3), Miller, Davies (L. Smith, 63), Oakley (Easton, 83).
Subs (not used): Fon Williams (GK), Cunningham, Winter, Moyo.
Booked: McGowan (77), Easton (90+2)
HEARTS: Pereira, Hickey, Halkett, M. Smith, White (Bozanic, 61), Damour (Henderson, 760, Whelan, Clare, Naismith (Mulraney, 46), Ikpeazu, MacLean.
Subs (not used): Zlamal (GK), Wighton, Dikamona, Meshino.
Booked: MacLean (20), Smith (58), Halkett (70), Whelan (90+5).
Referee: David Munro.