Quarterback Keenan Reynolds carries the Mids — and some Spartans as well — to a triple-overtime win. Reynolds has rushed for 26 touchdowns this season, one short of matching NCAA mark. (Marcio Jose Sanchez/Associated Press)

Keenan Reynolds set an NCAA record by scoring seven rushing touchdowns, including the winner in the third overtime, as visiting Navy downed San Jose State, 58-52, late Friday night.

Reynolds rushed for 240 yards on 36 carries and became the fourth quarterback in Navy history to throw for more than 1,000 yards and rush for more than 1,000 yards in the same season.

He also is the ninth quarterback in NCAA history to score 20 or more rushing touchdowns. He has 26 on the year for the Midshipmen (7-4), one shy of tying the NCAA mark.

David Fales threw for 440 yards on 42-for-56 passing and five touchdowns for the Spartans (5-6). Jarrod Lawson rushed for 98 yards and a touchdown.

Both teams scored touchdowns on their first two overtime possessions, with Fales connecting on a 10-yard pass with Kyle Nunn and Thomas Tucker running in from five yards.

Reynolds went 25 yards and seven yards for Navy.

Parrish Gaines intercepted a pass in the end zone to stop the Spartans’ third overtime drive. Reynolds went 25 yards on the next play for the record and the victory.

“I wanted to slug it out in the third overtime, knowing we’d used several two-point plays already,” San Jose State Coach Ron Caragher told reporters. “We had talked about it, but I felt more comfortable kicking and letting the players play to win the game and not making a coaching decision that could’ve backfired.”

Darius Staten caught a three-yard scoring toss from Reynolds, who has thrown for a touchdown and rushed for a touchdown in six consecutive games.

For the Spartans, Nunn caught two touchdown passes and Chandler Jones, Tyler Winston and Tucker each caught one.

San Jose State took a 16-10 advantage into intermission.

Fales took over San Jose State’s career lead for both touchdown passes (60) and passing yards (7,835) and Jones became San Jose State’s all-time leader in receptions. He caught seven passes and has 240 for his career.

The Spartans took a 30-24 lead early in the fourth quarter on a four-yard pass to Tyler. Fales ran in the two-point conversion.

Navy scored on Reynolds’ 38-yard run with 7 minutes 6 seconds remaining to regain the lead, 31-30.

Midshipmen safety Wave Ryder recovered a fumble forced by William Tuider near midfield. Reynolds went 20 yards for his fourth rushing score with 2:38 left.

The Spartans marched down the field, with no timeouts, to tie the game.

Nunn caught a two-yard pass for the touchdown and Jones hung on to the two-point try with no time on the clock to send it to overtime.

Fales tied the school record for touchdown passes and became the school’s all-time leader in passing yards when he completed a 25-yard scoring toss to Tucker early in the second quarter.

Austin Lopez missed the extra point and the Spartans held a 9-0 lead.

The Midshipmen took the ensuing kickoff and marched 84 yards in 10 plays, all on the ground, to pull within 9-7. Reynolds went the final 12 yards for his 21st rushing touchdown of the year.

Before the game, a moment of silence was observed on the 50th anniversary of President John F. Kennedy’s assassination.

Kennedy served in the Navy during World War II.

— Associated Press