Stevie May and Andy Ryan netted second-half goals as Hamilton all but secured a top-half finish in Division One thanks to a 2-0 victory over Raith Rovers at New Douglas Park.
In front of less than one thousand spectators, the Accies collected three deserved points but had to wait 53 minutes before opening the scoring.
From 22 yards, May found the bottom corner of the net for his 10th goal in seven games - and his 23rd of the season.
The 20-year-old striker almost added a second but saw his shot - following good work by Louis Longridge - skip inches past a post.
Bill Graham headed wide for Raith and the same player forced a rare save out of home keeper Kevin Cuthbert.
But with 92 minutes on the clock, the influential May provided the assist for Ryan to smash home from inside the box.
In a goalless first half dominated by the hosts, Ali Crawford clipped a post from long range, while Ryan fired over from inside the box.