Glenavon fullback James Singleton secured a late win against a battling Warrenpoint Town at Mourneview Park on Friday night.
The fullback struck with four minutes to go to seal a 3-2 win and move the Blues into third spot.
If Glenavon were hoping to impose themselves on the visitors then it all went wrong as Town hit the front inside two minutes as Daniel Hughes broke and crossed for Ruairi Devlin to stab past Alan Blayney.
Paddy McNally did well to get on the end of a Kyle Neill free kick but his downward header was cleared off the line.
Smith had a chance to double the lead when he ran clear but Andy McGrory chased back and it was enough to put the striker off.
Glenavon levelled on 16 minutes and it was a simple tap in for Gary Hamilton after McGrory rolled the ball to him after neat play by Kevin Braniff.
That brought the home side to life and after Kyle Neill nodded wide Braniff rifled a shot from distance wide of the post.
No sooner had they got back into the game Glenavon were behind again as an unfortunate slip by Gareth McKeown allowed Johnny Breen to pounce and he fired past Blayney.
Glenavon had a great chance to level again on 52 minutes but Braniff somehow managed to scoop the ball over the bar from just a yard out.
Braniff had another chance on 67 minutes and this time he produced another superb strike from a free kick to fire into the roof of the net and make it 2-2. It was a carbon copy of his recent winner at Linfield and just what the Lurgan Blues needed.
Darren Forsyth came on for Hamilton on 78 minutues as Glenavon went for the win.
The winning goal came on 86 minutes with Marshall winning the ball in the air and up popped Singleton to seal a massive three points for Gary Hamilton’s side who had lost the last three games on the trot.