Dunfermline bounced back from last weekend's heavy reverse to inflict a defeat on nine-man rivals Raith Rovers.
Both teams had gone in level at the break, but Rovers had seen Allan Walker given a straight red for a bad foul on Andrew Barrowman.
As the players emerged for the second period, the home side was further reduced as Douglas Hill had been sent off in the tunnel at half-time.
Patrick Clarke had headed home Walker's 24th-minute right-wing free-kick to give Raith the lead.
The away side levelled as Stephen Husband drilled in a free-kick from 25 yards.
Dunfermline took full advantage of the two red cards to score within the first two minutes of the second-half as Joseph Cardle fired into the top corner from 18 yards.
Husband tapped in from close range after good work from Craig Dargo in the 88th minute to secure victory.
Raith: Laidlaw, Thomson, Ellis, Hill, Malone, Grant Anderson (Graham 73), Mensing, Walker, Smith, Spence (Stuart Anderson 46), Clarke. Subs Not Used: Roberts, Hamill, Donaldson.
Sent Off: Walker (45), Hill (46). Booked: Thomson, Grant Anderson, Hill.
Goals: Clarke 24.
Dunfermline: Gallacher, Geggan, Dowie, Morris, McMillan, Cardle, Thomson (Dargo 50), Husband, Falkingham, Barrowman (Whittle 78), Wallace (Kirk 62). Subs Not Used: Hrivnak, Potter.
Booked: Thomson, Geggan, Husband, Falkingham.
Goals: Husband 37, Cardle 47, Husband 88.
Ref: Crawford Allan