Linfield replaced Portadown at the top of the Premiership with victory in the title tussle at Windsor Park.
Jim Ervin gave the Blues the lead with a fine right-foot shot past David Miskelly in the 25th minute.
Both sides had efforts cleared off the line, while Matthew Tipton hit the post and Sean Mackle volleyed wide.
Wesley Boyle pulled a shot narrowly wide and Miskelly saved from Mark McAllister before Robert Garrett made it 2-0 on 81 with a left-foot shot.
Alan Blayney saved from Kevin Braniff's header early in the game while, at the other end, McAllister headed over when left unmarked in the penalty area.
Ervin broke the deadlock with his opportunist goal and then Braniff saw his shot spilled by Blayney, but Tipton was unable to find the target from the rebound.
Miskelly saved from a Michael Carvill shot and Tipton cleared a Stephen Douglas effort off the line.
Douglas saved a certain goal when he cleared Brian Gartland's shot off the line, and then Tipton and Mackle went close before the break.
After half-time Miskelly comfortably collected Aaron Burns' left-foot free-kick and substitute Boyle fired wide.
Garrett beat Miskelly at his near post with a wonderful strike to secure maximum points for the Blues.
"I thought we deserved something from the game, we had plenty of the play and had good chances to score," bemoaned Ports manager Ronnie McFall after the game.