HOUSTON (AP) — The Houston Texans were less than a minute from pulling off the biggest comeback in team history.

But the Tennessee Titans had other ideas.

Rob Bironas kicked an NFL-record eight field goals, including the game-winner as time expired, to lead the Titans to a 38-36 win over the Texans on Sunday.

The record-setting kick foiled a spirited comeback by the Texans (3-4) who scored 29 points in the fourth quarter, capped by a 53-yard touchdown pass from Sage Rosenfels to Andre’ Davis to take a 36-35 lead with 57 seconds to play.

“Even though things weren’t going well for us the whole game, we just wanted to make sure that no matter what, it was a pride thing,” Davis said. “We wanted to … (go) out there and let them know that we weren’t going to give up until the end of the game.”

The Titans (4-2) faced a third-and-10 at their 37 when Kerry Collins found Roydell Williams, who was covered by Dunta Robinson, on a 46-yard pass that set up the winning kick.

“I’ll take the blame for it,” Robinson said. “We should’ve won this game. Coach put us in position and I didn’t make the play.”

Bironas said he didn’t realize he was closing in on the mark.

“I knew we’d hit quite a few, but I try not to count,” Bironas said. “I try not to know the distances when I go out there, so I’m always concentrating on making the same kick. I’ve never really counted. I’ll remember this one, though.”

Bironas’ last two field goals were from 29 yards and he connected from 52, 43, 25, 21, 30 and 28 yards to break the previous record of seven field goals held by Billy Cundiff, Chris Boniol, Rich Karlis and Jim Bakken.

He doubled his field goal total for the season on Sunday after kicking eight field goals in the five previous games combined.

Bironas also kicked two extra points and set the NFL record for most points by a kicker, with 26. Cundiff’s 23 points on Sept. 15, 2003 was the previous high.

Former Longhorn standout Vince Young was active, but didn’t play and Collins got his first win as a starter in Tennessee after losing the first three games of last season.