SANTA CLARA >> Geno Smith scored on a 13-yard scramble with 12 seconds remaining and the Seattle Seahawks snapped a six-game losing streak against the San Francisco 49ers with a 20-17 victory on Sunday.

Smith completed seven of eight passes for 65 yards to get the Seahawks (5-5) in position to score after taking over at their 20 with 2:38 remaining. He then ran it in against a depleted defense for the 49ers (5-5) that sorely missed injured edge rusher Nick Bosa on the final drive.

The win moved Seattle into a three-way tie for second place in the NFC West with San Francisco and the Rams, a game behind Arizona. The Niners have lost three division games, blowing fourth-quarter leads in all of them after dropping games earlier this season to the Rams and Cardinals.

San Francisco had taken a 17-13 lead when Brock Purdy threw a 30-yard touchdown pass to Jauan Jennings with 9:33 to play.

BILLS 30, CHIEFS 21 >> Josh Allen ran for a 26-yard touchdown on fourth down with 2:17 left, sealing Buffalo’s win over Kansas City and handing the two-time defending Super Bowl champions their first loss of the season.

James Cook rushed for two touchdowns and Allen threw a 12-yard TD pass to Curtis Samuel for Buffalo (9-2), which closed the gap on Kansas City (9-1) in the race for the AFC’s top seed.

Patrick Mahomes and Chiefs were the NFL’s last undefeated team and finally ran out ways to eke out one-score victories and overcome second-half deficits. The Chiefs had won 15 straight, including playoffs, since they fell 20-14 to the Las Vegas Raiders on Dec. 17, 2023.

PACKERS 20, BEARS 19 >> Jordan Love ran for a go-ahead touchdown in the closing minutes, and Green Bay hung on to beat Chicago when Karl Brooks blocked Cairo Santos’ 46-yard field goal attempt as time expired.

The Packers made just enough plays to avoid falling farther behind Detroit and Minnesota in the NFC North and beat the last-place Bears for the 11th straight time, the longest streak by either team in the storied rivalry.

Broncos 38, Falcons 6 >> Bo Nix threw for 307 yards and a season-best four touchdowns, Javonte Williams got a push across the goal line from a half-dozen of his teammates, and Denver rolled past Atlanta.

Nix, who was 28 for 33, joined Hall of Famer Peyton Manning as the only rookie QBs in NFL history to throw for 200-plus yards with two or more touchdowns in four consecutive home games.

STEELERS 18, RAVENS 16 >> Chris Boswell tied a franchise record with six field goals and Pittsburgh limited Lamar Jackson and the NFL’s top-ranked offense in a victory over Baltimore.

The Steelers 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 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 with Baltimore.

LIONS 52, JAGUARS 6 >> Jared Goff threw two of his four touchdown passes to Amon-Ra St. Brown, David Montgomery and Jahmyr Gibbs combined for three rushing touchdowns, as Detroit routes Jacksonville.

The NFC-leading Lions have won eight straight and nine of their first 10 games in a season for the first time since 1934.

Detroit’s winning margin of 46 points was the largest in franchise history, and it handed Jacksonville its biggest-ever defeat. The Lions also set a franchise record in total yards with 644.

SAINTS 35, BROWNS 14 >> Taysom Hill capped a 138-yard, three-touchdown performance on the ground with a 75-yard scoring run, and New Orleans improved to 2-0 under interim coach Darren Rizzi with a victory over Cleveland.

Hill’s two other touchdowns went for 10 and 33 yards — the second on fourth and short — to more than balance out his two turnovers on an interception and fumble.

Hill also completed an 18-yard pass and returned a kickoff 42 yards.

RAMS 28, PATRIOTS 22 >> Matthew Stafford threw for 295 yards and four touchdowns, including a 69-yard score to Cooper Kupp on the second play of the second half to help Los Angeles pull away and beat New England.

New England trailed 14-10 after Rams kicker Joshua Karty’s 26-yard field-goal attempt at the end of the first half clanged off the right upright. Los Angeles received the kick to start the second half, and on second down Stafford found Kupp near midfield; Patriots cornerback Jonathan Jones dove for the pass and missed, leaving no one between Kupp and the end zone.

DOLPHINS 34, RAIDERS 19 >> Tua Tagovailoa threw three touchdown passes, De’Von Achane ran for a score, and Miami beat Las Vegas to win their second straight game.

It was another strong victory for the Dolphins, who have not matched their offensive fireworks from last season but are coming off a gritty Monday night win over the Rams. The Raiders (2-8) lost their sixth straight game.

COLTS 28, JETS 27 >> Anthony Richardson ran for a 4-yard touchdown, his second of the game, with 46 seconds left in his return to the starting role to lift Indianapolis to a victory over Aaron Rodgers and New York.

With the Jets leading 27-22 after Anders Carlson’s 35-yard field goal with 2:41 remaining, Richardson — benched for two games in favor of Joe Flacco — marched the Colts down the field.

He connected with Alec Pierce for 39 yards and then Josh Downs for 17 yards to put the ball at the 10. Three plays later, Richardson took off to the right and ran into the end zone for the go-ahead score.

VIKINGS 23, TITANS 13 >> Sam Darnold overcame an early fumble by throwing for 246 yards and two touchdowns and running for a score and Minnesota beats Tennessee.

The quarterback found Jordan Addison for a 47-yard catch-and-run touchdown as the Vikings didn’t trail again as they scored 16 straight for a 16-3 halftime lead.