Cowdenbeath clinched the Division Three title with a nervous win in front of the league's biggest crowd of the season (2,646).
The Blue Brazil opened the scoring in the 15th minute thanks to a neat lob from top scorer Liam Buchanan.
Armand One made it 2-0 with a shot from seven yards after 51 minutes.
Adam Nelson set up a tense finish with a free-kick from 25 yards, while Elgin's Chris Gardiner was sent off for lashing out at Kevin McBride.
Cowdenbeath: Hay, Guy, Ritchie (McGregor 62), Hill, Kevin McBride, Fusco, Baxter, Paatelainen, One (Mauchlen 89), David McKenna, Buchanan. Subs Not Used: Patrick Scullion, Krobot, Gilbertson.
Booked: Baxter. Goals: Buchanan 15, One 51.
Elgin City: Keiron Renton, Kaczan, Easton, Dickson, Dempsie, James McKenzie, Hind, Nelson, Booth (Bremner 53), Johnston, Gardiner. Subs Not Used: Tweedie, McIntosh, Shewan, Gillian.
Sent Off: Gardiner (82). Goals: Nelson 68.
Ref: J McKendrick
The BBC is not responsible for the content of external internet sites