LAS VEGAS (AP) Tyler Ervin ran on all four of San Jose State's plays in overtime and scored the walk-off touchdown for a 33-27 victory over UNLV on Saturday night.

Ervin also gave the Spartans (3-3, 2-1 Mountain West Conference) the lead at 27-24, taking Kenny Porter's misdirection screen pass 21 yards with 1:08 left in regulation. Ervin finished with 147 yards from scrimmage, 74 through the air and 73 on the ground.

UNLV (2-4, 1-1) had the first overtime turn and settled for a 43-yard field goal attempt after going nowhere on three plays. But the Spartans' Isaiah Irving blocked Nicolai Bornand's kick.

More from FoxSports

Bornand's 49-yarder with 11 seconds left in regulation forced overtime when it glanced off the right post and through.

The Rebels erased a 20-10 deficit in the fourth quarter as Kurt Palandech threw TD passes to Andrew Price and Devonte Boyd for a 24-20 lead with 3:49 remaining.