Lisburn Distillery preserved their Premiership status as they beat Newry City in the play-off second leg.
David Cushley put the Whites ahead on 19 minutes but Don Tierney levelled on 33 minutes before Stephen Hughes put the home side ahead four minutes later.
But crucially Gary Thompson equalised on the night in first-half injury-time.
Darragh Hanaphy missed a Newry chance and Whites keeper Billy Brennan made a great double-save before Scott Davidson's 79th-minute clinching goal.
Newry appeared to hold a slight edge going into Friday's second leg in the promotion/relegation clash after Tuesday's goalless draw at New Grosvenor.
However, the Whites looked in control of the tie when Cushley stabbed in from close range on 19 minutes after Davy Larmour had headed a Pat McShane cross against the woodwork.
But Distillery's lead on the night lasted only four minutes as Tierney fired home from the edge of the box after the Whites defence had failed to clear a cross.
The Championship runners-up appeared in the driving seat four minutes later when Hughes headed them into the lead after a Stephen Hutchinson cross.
However, Distillery were ahead in the tie again on the away goals rule on the stroke of half-time as Thompson netted after an Alan Hall cross.
Newry dominated the opening half hour of the second half with Hanaphy blasting over from a tight angle after he had rounded the Whites keeper on 65.
Eight minutes later, Brennan made a brilliant double save to deny Matt Haveron and Hanaphy as Newry continued to dominate.
However against the run of play, substitute Davidson struck Distillery's third goal on 79 minutes after a Neal Gawley break.
The goal seemed to totally deflate the home side and the Whites held on to retain their Premiership status.