Dunfermline Athletic moved up to second place in the League One table after coming from behind to beat Stranraer and scoring two late goals.
Pars goalkeeper Ryan Scully saved Christopher Aitken's 22nd-minute penalty, but Martin Grehan scored from the rebound.
However, Andrew Geggan equalised from close range two minutes later.
Luke Johnston stabbed in with eight minutes left before Allan Smith secured the points with a superb strike.
Victory means Dunfermline remain three points behind league leaders Rangers.
Dunfermline: Scully, Millen, Johnston, Morris, Whittle, Geggan, Husband, Falkingham, Wallace (Byrne 84), Moore (Ryan Thomson 79), Robert Thomson (Smith 72). Subs Not Used: Ferguson, Goodfellow, Kane, El Bakhtaoui.
Goals: Geggan 24, Johnston 82, Smith 86.
Stranraer: Mitchell, Rumsby, Robertson, McKeown, Lloyd Kinnaird, Winter (Borris 28), Aitken (Stirling 88), Gallagher, Corcoran, Grehan, Longworth (McKenna 59). Subs Not Used: Fahey, Docherty, MacGregor, Forde.
Booked: Borris, Grehan.
Goals: Grehan 22.
Ref: Des Roache