Dunfermline Athletic defeated third-placed Partick Thistle 3-1 on Friday night to move out of the relegation zone in the cinch Championship.
Brian Graham gave the Jags the lead on the half-hour mark but Malachi Fagan-Walcott equalised for James McPake's side before half-time.
Matty Todd and Xavier Benjamin struck in the second half as the Pars ended a nine-match winless run.