Ballinamallard United ensured that they will play Premiership football next season as Ryan Campbell scored twice in a 2-1 victory at Ballycastle Road.
Campbell ran onto a Jason McCartney through ball to slot home from six yards in the sixth minute.
Gary Browne fired wide, before Jamie McGonigle netted with an impressive overhead kick from a Matthew Snoddy cross three minutes before the break.
Campbell stole in to score what proved to be the winner one minute later.
The match-winning hero took advantage of confusion in the home defence to find the net.
Substitute Dale Noble fired agonisingly wide late in the game as the visitors went close to extending their lead.