Dunfermline Athletic beat cinch Championship leaders Dundee United 3-1 at the KDM Group East End Park on Friday to move to within two points of the promotion play-offs.
Matty Todd opened the scoring and Kane Ritchie-Hosler grabbed a double for James McPake's men before a late own goal reduced the deficit.
Raith Rovers have the chance to go top when they face Queen's Park at Hampden on Saturday.