Derek Carr said he was “thankful” the New York Jets went for an all-out blitz that helped the Las Vegas Raiders clinch a thrilling victory.

Carr threw a 46-yard touchdown pass to Henry Ruggs III with five seconds remaining as the Raiders edged the Jets 31-28 on Sunday.

The Jets were seconds away from victory before going for an all-out blitz, allowing Carr to pick out Ruggs and send them to 0-12.

Carr, who welcomed daughter Brooklyn into the world on Monday, said it was a decision that surprised him.

“I was just praying for one more chance. We hit Darren [Waller] on a big play on a little corner stop thing and put ourself in position,” the Raiders quarterback told reporters.

“With seven seconds left, I couldn’t believe they all-out blitzed us, but as soon as I saw it I was thankful.

“That’s why we prepare the way we do, that’s why coach teaches the way he does and I give coach [Jon] Gruden all the credit in the world because he has prepared me and equipped me to handle those situations whenever we get those kinds of looks to be able to handle it accordingly.

“To win a game like that in the fourth quarter, a lot of emotions, big-time rollercoaster to say the least.”

The Jets’ loss kept them on track to have the top pick in the 2021 NFL Draft, with Clemson Tigers quarterback Trevor Lawrence the favourite to be chosen first.

Adam Gase, head coach of the Jets, explained the team’s thinking on the play that gave the Raiders (7-5) their game-winning TD.

“We were trying to create pressure, he hadn’t done well with it all game so, that’s what happened,” he said.

“We had a couple of free runners but we didn’t get there.”