There aren’t that many people outside Western New York, it seems, who pay much attention to the Buffalo Bills. Not this season. Not this century. Not ever, really, except when the Bills of Coach Marv Levy, quarterback Jim Kelly, running back Thurman Thomas, wide receiver Andre Reed and defensive end Bruce Smith were losing four straight Super Bowls in the early 1990s.

The 2019 Bills are worthy of your attention, however. They are back in the NFL playoffs, clinching a postseason berth in the AFC with an inelegant but effective 17-10 triumph over the Pittsburgh Steelers on Sunday night at Heinz Field.

“I definitely think we’ve got a resilient group,” quarterback Josh Allen told NBC after the game. “No matter what gets thrown at us, we stick together and try to fight through it. Hats off to our defense. They played fantastic tonight. The offense wasn’t pretty. We got the job done. We got [win] number 10. We knew that we were playing for.”

The Bills will make their second playoff appearance in three years — and also only their second since the 1999 season. They improved to 10-4 and remained only a game behind the New England Patriots in the AFC East. The Bills face the Patriots on Saturday in Foxborough, Mass.

“We’ve got a really good opponent next week in New England,” Allen said. “We know that. And we’ve got to go out there and try to win that one.”

The Bills have their first 10-victory season of this century. They were making their first appearance on “Sunday Night Football” since 2007.

This is a team capable of winning in the postseason. Coach Sean McDermott has given the Bills an identity since arriving in 2017 and immediately ending a string of 17 straight non-playoff seasons.

The Bills run the football and play defense. They have a second-year quarterback, in Allen, who has thrived as a runner and is improving as a passer. They entered this weekend’s play ranked fifth in the NFL in rushing offense and second in scoring defense. They won in their typically rugged fashion Sunday night.

“Coming to Buffalo three years ago now — 2-1/2 years ago, whatever it’s been — a lot of people said, ‘Why are you going there? You’re not going to be able to get it turned around,’ ” McDermott said during his postgame news conference. “We got it turned around—with a lot of work yet to do. We haven’t arrived. We’ve got a lot of work to do. But I’m just humbled by it.”

Allen ran for a touchdown and threw for a touchdown for the Bills. They trailed 10-7 entering the fourth quarter. But they drew even on a field goal and took the lead for good on Allen’s 14-yard touchdown pass to tight end Tyler Kroft with just less than eight minutes remaining.

It was a defense-first game. The Bills committed two turnovers, as Allen threw an interception and tailback Devin Singletary lost a fumble. But the Buffalo defense forced five turnovers by the Steelers.

Cornerback Tre’Davious White had two of the Bills’ four interceptions of Pittsburgh quarterback Devlin Hodges, the second of which set up the tying field goal in the fourth quarter. The Steelers also lost a first-half fumble by wide receiver Diontae Johnson on a wildcat-formation running play that began at the Buffalo 10-yard line.

Hodges threw an end-zone interception to Bills safety Jordan Poyer on a fourth-and-seven play from the Buffalo 23-yard line with just less than two minutes left. The Steelers forced a Bills punt and drove to the Buffalo 26-yard line. But Hodges was sacked and then threw an end-zone interception to cornerback Levi Wallace with six seconds to go.

“They’ve got a really good defense,” Steelers Coach Mike Tomlin said at his postgame news conference. “We knew that. And they confirmed it.”

Hodges threw a third-quarter touchdown pass to tailback James Conner but the Pittsburgh offense was ineffective and error-prone. The Steelers had their three-game winning streak ended and fell to 8-6, although they held on to the second wild-card spot in the AFC.

Tomlin has done a superb coaching job this season. He has won without wide receiver Antonio Brown and tailback Le’Veon Bell, who exited in the offseason. He has won without quarterback Ben Roethlisberger, out with a season-ending elbow injury. He has won games with Mason Rudolph at quarterback. He has won with Hodges, an undrafted rookie, at quarterback. The three-game winning streak came minus Conner and wide receiver JuJu Smith-Schuster. Conner was back in the lineup Sunday but Smith-Schuster remained sidelined by a knee injury.

Tomlin recently benched Rudolph in favor of Hodges. Could he sit Hodges in favor of Rudolph? He did not address the topic when asked after the game.

“I’m not getting into that, guys,” Tomlin said. “We just lost a football game. I’m not going to make an announcement every week or every time I stand in front of you guys in terms of who’s playing quarterback or any other position, for that matter.”

The Steelers still might get into the postseason field. But the Bills already are there.

“The guys in that locker room, they don’t back down from no one,” White told NBC. “When our back’s against the wall, we know how to respond. So going into any arena or going against any opponent, I feel confident in the guys in my locker room because I know the preparation we put together.”

Read more on the NFL:

Live updates and highlights can be found below.