Mark Beck scored the only goal as third-placed Falkirk beat Dundee 1-0 at Dens Park on Saturday.
That allowed Hamilton to move to the top on goals scored after a dramatic 1-1 draw at Central Park. Mickael Antoine-Curier gave Accies the lead in stoppage time but Thomas O'Brien equalised at the end for Cowdenbeath.
Queen of the South are now six points clear in fourth place after beating bottom club Morton 3-0 at Palmerston. Chris Higgins, Derek Lyle and Gavin Reilly got the goals.
Dumbarton kept their play-off hopes alive after scoring twice in the last four minutes to win 2-1 at Livingston. Nejc Mevlja gave Livi the lead but Chris Turner (penalty) and Chris Kane netted as the Sons took advantage of the dismissal of Jason Talbot.
Raith Rovers leapfrogged Alloa with a 1-0 win at Recreation Park thanks to a first-half goal from Callum Booth.