A late comeback saw Peterhead avoid automatic relegation from Scottish League One and condemned Stenhousemuir to the drop.
Peterhead started the day bottom of the table, but recovered from 2-1 down to beat Alloa 3-2.
That left Stenhousemuir needing a win, but they could only draw 1-1 with Brechin.
Iain Flannigan gave Alloa a 29th-minute lead with a low effort from 12 yards, but Rory McAllister equalised eight minutes after half-time.
Adam Martin restored Alloa's advantage on the hour mark, but with relegation looming Peterhead levelled through Grant Anderson and Jordan Brown fired the winner from six yards with 10 minutes remaining.
The Blue Toon are not safe yet, as they face a relegation play-off with three sides from League Two.
Stenhousemuir found themselves behind after only five minutes as Alan Trouten's penalty put Brechin ahead following Mason Robertson's foul on Alistair Love.
Oli Shaw equalised after 62 minutes, but a 1-1 draw ensures they will be playing in League Two next season.
Brechin's point secured their place in the promotion play-off, and Airdrieonians beat Queen's Park 3-2 to earn their place in the end-of-season shake-up.
Dario Zanatta put Queen's Park ahead, but Andy Ryan struck either side of half-time to give Airdrieonians the lead.
Kalvin Orsi's low effort drew the visitors level, but less than a minute later Iain Russell converted Scott Stewart's pass for the winner.
Runaway champions Livingston signed off with a 2-0 win over Albion, with Scott Pitman and Raffaele De Vita on target.
Scottish League One Table
POS | Team | GP | GD | PTS |
---|---|---|---|---|
1 | Airdrieonians | 2 | +6 | 6 |
2 | Dunfermline Athletic | 2 | +4 | 6 |
3 | Clyde | 2 | +3 | 4 |
4 | Alloa Athletic | 2 | +1 | 3 |
5 | Edinburgh City | 2 | -1 | 3 |
6 | Montrose | 2 | 0 | 2 |
7 | Peterhead | 2 | -2 | 1 |
8 | Queen of the South | 2 | -3 | 1 |
9 | Falkirk | 2 | -4 | 1 |
10 | Kelty Hearts | 2 | -4 | 0 |
League One News
Stenhousemuir fend off Peterhead threat to clinch promotion
Stenhousemuir take control of play-off final against Peterhead
Peterhead to face Stenhousemuir in League One play-off final
Peterhead edge Stirling at Forthbank Stadium
Alloa dent Ayr's title hopes with home victory
Ayr stay top after comfortable win at Stranraer