Hamilton condemned to bottom two finish after 3-2 loss
Martin Canning's men lost out to Ross County and face a relegation play-off.
A stoppage-time winner from Jonathan Franks condemned Hamilton to a bottom-two finish as Ross County moved up to seventh place with a 3-2 win in an action-packed clash at Global Energy Stadium.
Accies fought back twice to level after County had taken the early initiative, but a superb volley from Franks deep in stoppage time secured the points.
County took the lead after just three minutes when Christopher Routis' short corner led to Michael Gardyne cutting inside and curling a shot into the far top corner of the net.
Rakish Bingham fired in an equaliser to bring the visitors level at the break after fine work from Ali Crawford.
Jim O'Brien and David Templeton traded goals during an end-to-end contest but there was to be late agony for Accies.
Franks volleyed home in stoppage time to send the home crowd wild and leave Accies deep in trouble.