Coleraine 3 Donegal Celtic 1
Coleraine legends Davy O'Hare and Stephen Carson were given a guard of honour as they trooped off at the Showgrounds for the final time.
Carson is set to join Glentoran but O'Hare is still uncertain where his future lies.
O'Hare said: “I have had a wonderful time at the club. It has been special and full of many happy memories.”
Carson added: “This send off says it all. The fans and those who run the club understand why I am going but I just want to pay tribute to them all for the support they have given me over the years.”
Donegal Celtic boss Paddy Kelly was a relieved man as his club looks set to remain in the Premiership despite defeat at Coleraine.
Basement club Newry City are relegated while Kelly believes his team will remain in the top flight with no relegation play-off against the runners-up in the Championship likely.
DC went ahead on nine minutes when Paul McVeigh made no mistake from five yards.
Leon Knight levelled it with a fifth goal in three games. Carson's cross was headed back by Darren Boyce and Knight turned the ball across the line for his 17th of the campaign on 34 minutes.
Johnny Harkness fired Coleraine in front on 39 minutes with a penalty after Knight was pulled back by McNamee.
After the break Gareth Tommons raced on to Knight's flick-on before smashing the ball past Brown from eight yards.
Coleraine: O'Hare (Wells 87), Canning, Harkness, Ogilby, Beverland, Tommons (Mukendi 75), Lowry, Hegarty, Carson (McIvor 81), Boyce, Knight. Subs: Watt, Healy.
Donegal Celtic: Brown, Glenholmes (Cleary 40), McAlorum (Muir 86), Gargan, Bradley, McAllister, McVeigh, McNamee, O'Hara, Atkinson (Dickson 68), Henderson. Subs: Brennan, Curran.
Referee: Brian Turkington (Belfast).