Goals from Jonathan Page and Steven May saw Hamilton come from behind to beat Cowdenbeath at New Douglas Park.
After a scrappy start to the game, the visitors went ahead on 24 minutes when on-loan Rangers forward Kane Hemmings blasted the ball past keeper Kevin Cuthbert from the edge of the penalty area.
Cowdenbeath defended resolutely after taking the lead, giving their opponents very little to go on in the remainder of the first half.
Hamilton looked like a different side in the second half and it wasn't long before they drew level.
Page found the bottom corner from 18 yards out in the 61st minute, before May's curled effort from range flew into the top corner four minutes later to give the hosts the lead.
Hamilton were then reduced to 10 men when Alexander Neil picked up a second booking in the 68th minute, but they held on to win.
Hamilton: Cuthbert, Gordon, Canning, Page, McGlinchey (Mackinnon 52), Routledge, Neil,Fraser (Gillespie 52), Crawford, May, Longridge (Fisher 90). Subs Not Used: Christie, Devlin.
Sent Off: Neil (68). Booked: Neil, Routledge. Goals: Page 61, May 65.
Cowdenbeath: Flynn, Cowan, Armstrong, Mbu, Linton, Cameron (McKenzie 66), O'Brien (Miller 56), Brett (Stevenson 73), Caddis, Stanton, Hemmings. Subs Not Used: Wight, Milne.
Goals: Hemmings 24.
Ref: Iain Brines