David Reginek-USA TODAY Sports

David Montgomery scored on a 1-yard run with 29 seconds remaining and the Detroit Lions rallied from a 12-point, fourth-quarter deficit to pull out a 31-26 victory over the visiting Chicago Bears on Sunday.

Montgomery, a former Bears running back, rushed for 76 yards and the go-ahead touchdown. Jared Goff, who threw a season-high three interceptions, engineered two fourth-quarter scoring drives and finished with 236 yards passing and two touchdowns.

Amon-Ra St. Brown caught eight passes for 77 yards and a touchdown for Detroit (8-2).

Bears quarterback Justin Fields, who missed the four previous games with a thumb injury, passed for 169 yards and a touchdown and also rushed for 104 yards. DJ Moore caught seven passes for 96 yards and a touchdown for Chicago (3-8).

Down 26-14, Goff hooked up with Jameson Williams on a 32-yard score with 2:59 remaining to cut the deficit to five.

Detroit forced a three-and-out to set up the game-winning 73-yard drive. It began with a 13-yard completion from Goff to Montgomery and culminated with Montgomery's 1-yard run. Goff then completed a two-point conversion pass to Sam LaPorta.

Aidan Hutchinson forced Fields to fumble and the ball was kicked out of the end zone, resulting in a safety with 22 seconds left.

Detroit led 14-10 at halftime.

On Chicago's opening drive, D'Onta Foreman scored on a 1-yard run.

A fumble recovery by Detroit's Alex Anzalone at the Bears' 34-yard line set up Detroit's first touchdown. Jahmyr Gibbs rushed from 2 yards out with 9:23 left in the half.

Chicago then had the ball for over seven minutes but had to settle for Cairo Santos' 31-yard field goal.

Goff found St. Brown over the middle for a 7-yard touchdown with 11 seconds left in the half.

Santos drilled a 53-yard field goal midway through the third quarter to cut the Lions' lead to 14-13.

The Bears forced a fumble on the ensuing kickoff and cashed in three plays later, as Fields threw a 39-yard strike to Moore.

After Goff was intercepted for the third time, Chicago made it a two-possession game on Santos' 40-yard field goal. Santos made a 39-yard field goal with 4:15 remaining for a 26-14 advantage.

Tyrique Stevenson, T.J. Edwards and Tremaine Edmunds recorded the three interceptions for Chicago.

More must-reads:

TODAY'S BEST
Pacers ride historic shooting performance to Game 7 blowout of Knicks
Timberwolves mount incredible second-half comeback to stun Nuggets in Game 7
Xander Schauffele proves doubters wrong with historic win at 2024 PGA Championship
Four things we learned from Joey Logano's All-Star Race win at North Wilkesboro
Phil Foden lifts Manchester City to fourth consecutive English Premier League title
Watch: Aaron Judge blasts 13th home run in Yankees' seventh straight win
Canucks won't have linchpin forward for Game 7 vs. Oilers
Jags reportedly mulling extension for Trevor Lawrence, but is that the right choice?
Gordon Hayward calls role with Thunder 'frustrating'
Mets reliever Edwin Diaz showing short shelf life of closers
Three offseason moves the 49ers must make
Watch: NASCAR drivers exchange punches after crash in All-Star Race
Knicks star offers passionate defense of HC Tom Thibodeau after Game 7 loss
Knicks' Jalen Brunson suffers serious injury in Game 7 vs. Pacers
Dodgers add recently acquired left-hander to active roster
Report: 2023 No. 7 pick expected to terminate KHL contract, join Flyers
Mavericks advance to Western Conference Finals aided by controversial call late
Connor McDavid, Oilers hammer Canucks to force Game 7
Tyson Fury-Oleksandr Usyk epic increases excitement for potential rematch
Seize the Grey wins in muddy Preakness