Dungannon Swifts moved above Ballinamallard into eighth position in the Premiership by beating Coleraine.
Andrew Mitchell met Grant Hutchinson's cross with a glancing header to give the Swifts the lead against the run of play in the 26th minute.
Substitute Gary Browne levelled when he latched onto a long ball from Michael Doherty and fired into the net on 80.
Conor Mullen got the slightest touch on a cross to score with his first touch of the ball with four minutes left.
Mullen managed to divert the ball past Doherty just minutes after being introduced from the bench.
Mitchell's sixth goal of the season set Darren Murphy's side on their way while the Bannsiders' best chances of the first half fell to Shane McGinty, who twice dragged shots wide.
Browne's strike looked to have earned Coleraine a point but Mullen's late intervention leaves the hosts without a win in their last six games.