Josh Allen passed for 238 yards and two touchdowns Sunday night as the Buffalo Bills downed the Pittsburgh Steelers 26-15 at Orchard Park, N.Y.

Buffalo (10-3) spotted the Steelers (11-2) a 7-0 lead, then reeled off 23 straight points. It was Pittsburgh’s second straight loss.

Allen was 24 of 43 with touchdown passes to Stephon Diggs (10 catches, 130 yards) and Gabriel Davis. Taron Johnson had an interception return for a touchdown.

Pittsburgh quarterback Ben Roethlisberger was 21 of 37 for 187 yards with two interceptions and touchdown passes to James Washington and JuJu Smith-Schuster.

The Steelers had 224 yards and converted just 1 of 10 third downs. Buffalo totaled 334 yards and was 7 of 14 on third-down opportunities.

The first half was mostly a punt fest as both defenses dominated.

The first series that ended on something other than a punt came when the Steelers’ Cam Heyward grazed Allen’s arm at his release point, resulting in Mike Hilton’s interception.

That didn’t lead to any points, but a couple turnovers in the second quarter did.

When the Bills’ Dawson Knox bobbled the ball trying to catch a pass, Cam Sutton grabbed it for an interception at the Buffalo 30-yard line. That led to Roethlisberger’s 19-yard scoring pass to Washington, who cut back toward the middle of the end zone to get open for a 7-0 Steelers’ lead.

Tyler Bass’ 34-yard field goal pulled Buffalo within 7-3 with 1:42 left in the half.

In a key play for Buffalo, Taron Johnson stepped in front of Smith-Schuster for an interception and a 51-yard touchdown return. Bass missed the extra point, giving the Bills a 9-7 lead 52 seconds before halftime.

Buffalo opened the second half with an eight-play, 68-yard drive ending with Allen’s 19-yard touchdown pass to Diggs for a 16-7 lead.

Allen found Davis at the far left side of the end zone from 13 yards to push it to 23-7.

In the fourth quarter, the Steelers drove 81 yards in 10 plays and pulled to within 23-15 on Smith-Schuster’s 3-yard touchdown catch and Roethlisberger’s two-point conversion pass to Eric Ebron.

Bass’ 23-yard field goal made it more comfortable for the Bills at 26-15 with 8:07 left.

Levi Wallace’s interception ended Pittsburgh’s subsequent possession, and the Bills ran out the clock.