By Derek Clark at New Douglas Park
Calum Paterson went from hero to villain as Hearts winning start was brought to a crashing end by an impressive Hamilton side.
Accies passed up two glaring opportunities courtesy of Gramoz Kurtaj and Darian MacKinnon before they eventually opened the scoring a minute before half time.
Kurtaj capitalised on a mix up in the Hearts defence to poke the ball past Neil Alexander.
It took the visitors eight minutes after the restart to draw level, Osman Sow played in Billy King who showed composure to round Michael McGovern and fire high into the net.
The Jambos took the lead on 71 minutes, a Juanma cross from the left was met at the back post by Paterson who volleyed past McGovern into the back of the net.
The Hearts right-back was given his marching orders just moments later when he lunged into a challenge on MacKinnon. He lay on the ground claiming he had been injured in the tackle which resulted in a melee with all players getting involved.
After a delay of five minutes, the match finally got back underway and the home side equalised moments later when the ever-impressive Ali Crawford fired a terrific left-footed strike from just outside the area that nestled into the top right-hand corner of the net.
And Accies netted the winner on 87 minutes when Jesus Garcia Tena blasted high into the net from a Crawford corner.
The victory, their first over the Gorgie side since 2009, was more than Hamilton deserved.