HOUSTON >> Jake Bates made a 52-yard field goal as time expired, and the Detroit Lions overcame a career-high five interceptions by Jared Goff to rally for a 26-23 win over the Houston Texans on Sunday night.

The Lions improved to 8-1 for the first time since 1954 with their seventh straight victory overall and fifth in a row on the road.

Detroit trailed 23-7 at halftime after Goff threw three interceptions in the first two quarters, and he threw two more picks in the third. Nonetheless, the Lions scored 16 straight points to tie it with about five minutes to go on Bates’ 58-yard field goal.

The Texans (6-4) had a chance to take the lead with just under two minutes left, but Ka’imi Fairbairn’s 58-yard try was wide left.

The Lions became the first team to win when throwing five or more interceptions since Atlanta beat Arizona 23-19 on Nov. 18, 2012, when Matt Ryan was picked off five times.

David Montgomery ran for 3-yard touchdown early in the third, but his run on the 2-point conversion try was stopped, leaving the Lions down 23-13. A 9-yard TD reception by Amon-Ra St. Brown got Detroit within 23-20 early in the fourth quarter.

Goff threw for 240 yards and two touchdowns and Jahmyr Gibbs ran for 71 yards.

C.J. Stroud threw for 232 yards and a touchdown, but he threw two interceptions in the second half as the Texans were shut out after the break to lose for the third time in four games.

Goff’s five picks were the most by an NFL player since Jameis Winston threw five on Oct. 13, 2019, for Tampa Bay against Carolina.

Goff hadn’t thrown an interception in five games and entered Sunday with just four all season. His previous career high was four in a loss to Chicago while with the Rams on Dec. 9, 2018.

Rookie Kamari Lassiter led the Texans with two interceptions as they set a franchise record for picks.

Jimmie Ward intercepted Goff on Detroit’s first drive on a ball that was tipped by Jalen Pitre to give Houston the ball at the Detroit 33.