Cowdenbeath got the better of East Fife in a five-goal thriller in Scottish Football League Division Two.
Ryan Wallace fired the visitors in front early on but Greg Stewart's strike drew Beath level on 17 minutes.
An own goal by Matthew Park put the hosts ahead after the break but the Fifers levelled on 62 minutes when David Muir found the net from 12 yards.
As the match entered its final quarter-hour, Jon Robertson's 25-yard free kick sailed home to claim Beath victory.
Cowdenbeath: Bejaoui, Brett, Armstrong, O'Brien, Adamson, Morton (McKenzie 62), Robertson, Cameron, Linton, Naismith, Stewart. Subs Not Used: Flynn, Coult, Winter, Cowan.
Booked: Morton, Naismith.
Goals: Stewart 17, Park 52 og, Robertson 76.
East Fife: Ridgers, Scott Durie, Ovenstone, White, Park, Linn (Dalziel 72), Muir, Darren Smith (Robert Sloan 68), Johnstone (McQuade 80), Ogleby, Wallace. Subs Not Used: Michael Brown, Cook.
Booked: Darren Smith, Park.
Goals: Wallace 3, Muir 62.
Ref: Bobby Madden