PITTSBURGH >> Chris Boswell tied a franchise record with six field goals and the Pittsburgh Steelers limited Lamar Jackson and the NFL’s top-ranked offense in an 18-16 victory over the Baltimore Ravens on Sunday.

The Steelers (8-2) won their fifth straight behind Boswell and a defense that never let Jackson, Derrick Henry or the rest of the offense get into a rhythm, opening up a little breathing room atop the AFC North.

Baltimore (7-4) was held to season lows in points and yards (329) while committing 12 penalties and turning the ball over three times — each miscue leading to a Boswell field goal — as Pittsburgh won for the seventh time in its last eight meetings between the rivals.

Jackson completed just 16 of 33 for 207 yards with a touchdown and an interception. He hit Zay Flowers for a 16-yard score with 1:06 left to get the Ravens within two but the 2-point conversion attempt was a mess. Jackson rolled to his left, tried to run then pulled up and threw a prayer to no one in particular that fell incomplete.

The Steelers picked up a first down on the ensuing drive and ran out the clock to drop Jackson’s record to 1-4 in the series.

Henry tied a franchise record by scoring his 15th rushing touchdown of the season, but was limited to just 65 yards.

Wilson and the Steelers weren’t much better, but Pittsburgh largely avoided the self-inflicted wounds that cost Baltimore so dearly.