FRESNO, Calif. (AP)Logan Fife threw a go-ahead touchdown pass to Nikko Remigio and Fresno State kept San Jose State off the scoreboard in the second half en route to a 17-10 victory on Saturday night.

Chevan Cordeiro fired a 32-yard scoring strike to Elijah Cooks with 15 seconds left in the first half to give San Jose State a 10-7 lead. The touchdown was set up when Viliami Fehoko forced and recovered a fumble by Fife at the Bulldogs’ 45-yard line.

Fife put Fresno State (2-4, 1-1 Mountain West Conference) up 14-10 with a 7-yard scoring toss to Remigio with 1:09 remaining in the third quarter. Abraham Montano kicked a 28-yard field goal with 10 seconds left in the game to complete the scoring.

Fresno State had minus-5 rushing yards on 16 attempts at halftime, but finished the game with 104 yards on 36 rushes. Jordan Mims led the way with 71 yards on 16 carries, including a 6-yard touchdown run that gave the Bulldogs a 7-3 lead in the second quarter. Fife was 22-of-32 passing for 230 yards with one interception.

Cordeiro completed 22 of 45 passes for 294 yards with one interception for the Spartans. Cooks finished with seven catches for 140 yards.

More AP college football: https://apnews.com/hub/college-football and https://twitter.com/AP-Top25. Sign up for the AP’s college football newsletter: https://apnews.com/cfbtop25