Dunfermline Athletic beat Raith Rovers 2-0 at the KDM Group East End Park in front of 6,993 fans on Friday night to earn their first league win of the season.
The visitors had defender Euan Murray sent off after just 15 minutes for denying Chris Kane a clear goalscoring opportunity but it was still 0-0 at the interval.
Ewan Otoo broke the deadlock with a deflected shot early in the second half and a quality finish from David Wotherspoon 10 minutes from time made sure of victory for the Pars.
The result lifts James McPake's men off the foot of the William Hill Championship table at the expense of their rivals, who suffered a fourth defeat in five outings.