Orlando Ramirez-USA TODAY Sports

Riley Patterson made a 41-yard field goal as time expired, giving the Detroit Lions a wild 41-38 win over the host Los Angeles Chargers on Sunday.

Jared Goff passed for 333 yards, including a key fourth-down completion on the final drive, and two touchdowns for Detroit (7-2). Amon-Ra St. Brown caught eight passes for 156 yards and a touchdown.

David Montgomery rushed for 116 yards, including a 75-yard touchdown. Jahmyr Gibbs added 77 rushing yards and two touchdowns.

Justin Herbert passed for 323 yards and four touchdowns for the Chargers (4-5). Keenan Allen caught 11 passes for 175 yards and two touchdowns.

Austin Ekeler added 115 scrimmage yards (67 rushing, 48 receiving) along with a rushing score.

Detroit led 24-17 at halftime.

The Lions scored first on Patterson's 33-yard field goal. The Chargers tied it on Cameron Dicker's 48-yard field goal.

Gibbs scored on a 1-yard run to finish off Detroit's next possession.

Kerby Joseph picked off a Herbert pass but a Chargers goal-line stand prevented a score.

After Detroit got the ball back, it faced another fourth-and-goal. This time, Gibbs plunged in from the 1-yard line for a 17-3 lead.

Herbert connected with Allen over the middle on a 29-yard touchdown to briefly pull Los Angeles within a touchdown. Detroit scored on its next play from scrimmage, as Montgomery burst through a huge hole up the middle, cut to his left and raced down the sideline on his 75-yard scoring run.

Ekeler scored from the 2 in the final minute of the half out to cap off a 75-yard drive.

Los Angeles tied it at 24 with a 92-yard drive during the third quarter. Herbert's 18-yard scoring strike to Jalen Guyton finished it off.

The Lions regained the lead when St. Brown caught a short pass from Goff and raced 20 yards for the touchdown. The Chargers responded on their next drive with another touchdown, a fourth-down, 1-yard pass from Herbert to Quentin Johnston.

Goff delivered a 25-yard scoring pass to tight end Brock Wright off play action to make it 38-31 with 7:30 left.

Los Angeles tied it with 3:34 to go on Herbert's 38-yard, fourth-down pass to Allen.

More must-reads:

TODAY'S BEST
Celtics legend provides update after gruesome finger injury
Bulls hire former NBA head coach as top assistant
Chiefs move on from young running back
20-year MLB veteran working out, unsure about playing future
USA Hockey names HC for 2025 4 Nations Face-Off and 2026 Olympics
Key Knicks forward ruled out for Game 7 vs. Pacers
Pacers' Pascal Siakam leads team to Game 6 win vs. Knicks
Watch: Matt Duchene's 2OT winner sends Stars to conference final
Scottie Scheffler shoots improbable 66 after warming up for PGA Championship in a jail cell
Report: Tua Tagovailoa away from Dolphins amid contract chatter
Nuggets star has worrying comment about latest injury
Paul Skenes makes incredible Wrigley Field history in second-career MLB start
Giants rookie CF to undergo season-ending labrum surgery
Yankees' Juan Soto reacts to Hal Steinbrenner contract talk
Late goal sends Panthers to Eastern Conference Finals
Ex-teammate of Shohei Ohtani placed bets with same illegal bookmaker as interpreter 
Former Rams first-round pick retires from NFL after 11 seasons
Insider provides major injury update on Celtics' Kristaps Porzingis
Watch: Bruins strike first in Game 6 with incredible backhand goal
Dodgers make series of moves involving notable players

Want more sports news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.