Getty Images

LARAMIE, Wyo. (AP) — Defensive tackle Chase Appleby sacked Brett Rypien and forced a fumble for a safety with 1:25 left to give Wyoming a 30-28 upset victory over No. 13 Boise State on Saturday night.

It was Wyoming's first win over the Broncos in 11 games between the two teams. Thousands of fans swarmed the field and the Cowboys' players as the final seconds ticked off.

Josh Allen completed 18 of 31 passes for 274 yards and three touchdowns, and Brian Hill ran for 146 yards for the Cowboys (6-2, 4-0 Mountain West).

Rypien completed 22 of 35 passes for 295 yards, and he also caught a 33-yard TD pass on a trick play for Boise State (7-1, 3-1). Jeremey McNichols ran for 143 yards and two TDs, and Jake Hollister caught six passes for 144 yards and two touchdowns.

The game featured two of the top running backs in the nation in Hill, who entered the weekend second in rushing, and McNichols, who was No. 6. Wyoming outgained Boise State 489 yards to 487.