ALBUQUERQUE, N.M. -- James Aho kicked a 38-yard field goal as time expired to lift New Mexico to a 34-31 victory over Wyoming and end a nine-game losing streak on Saturday.
UNM's Stump Godfrey, in his first start for the Lobos (1-8, 1-4 Mountain West), completed 16 of 20 passes for 211 yards with two touchdowns throws to Lucas Reed, who finished with seven catches for 100 yards.
UNM had lost 23 of its last 24 games, but it forced four turnovers, three coming deep in its own end and one deep in the Cowboys' end.
The Cowboys (2-8, 0-6) held a 21-7 lead late in the second quarter after Alvester Alexander, who finished with 151 yards and three touchdowns, took it 94 yards for a score.
The Lobos, however, rallied behind Reed's 4-yard, one-handed touchdown reception, then an interception from Bubba Forrest at the UNM two.
But Godfrey added 69 yards on 23 carries to complement Kasey Carrier?s 97 yards on 13 carries. Each ran for a touchdown.
New Mexico did not commit a turnover and converted 12-of-19 third-down attempts to extend drives.
The Lobos drove 47 yards on 11 plays, using the final 5:33 on the game-winning possession before Aho?s field goal. He also had a 51-yarder in the third quarter.