LARAMIE, Wyo. (AP) Wyoming defensive tackle Chase Appleby didn't practice all week because he was recovering from a concussion and was ''dog sick'' on Thursday. It didn't show two days later.
But Appleby highlighted a resurgent Wyoming program when he sacked Brett Rypien and forced a fumble that bounced out of the back of the end zone for a safety with 1:25 left to give the Cowboys a 30-28 upset victory over No. 13 Boise State on Saturday night.
''I tried to put a good hit on him, and I saw the ball fly out,'' Appleby said. ''I wanted to recover it for another score but we'll take the safety.''
It was Wyoming's first win over the Broncos in 11 games between the two teams and its first victory over a Top 25 team since beating No. 22 Air Force in 2002. 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 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.
Wyoming, which trailed 21-7 in the first half, tied it on a 27-yard TD pass from Allen to Tanner Gentry , followed by a 2-point conversion on a pass from Allen to Jake Maulhardt with 6:42 left in the fourth quarter.
The teams traded possessions with Boise State getting the ball at its own 10-yard line with 1:38 remaining.
After an incomplete pass, Rypien was sacked by Appleby near the goal line and the bounced through the back of the end zone.
''We trust Brett, and they made a play,'' Boise State coach Bryan Harsin said. ''He's trying to get the ball out. This is football, this is every week football and sometimes that ball bounces funny and it came out and they got the safety at a critical time in the game.''
Boise State: Saw its hopes of cracking the Top 10 and eventually earning a spot in the College Football Playoff dashed. The Broncos likely needed an unblemished record to do that.
Wyoming: The win shows it's a program on the upswing. The team is stocked with youth and is vastly improved under the direction of coach Craig Bohl after finishing last season 2-10.
''There's wins that you look back on that help define a program - this is one of them,'' Bohl, who brought his brand of more traditional type football to Laramie, said.
Entering Saturday's game, Boise State had beaten Wyoming in five previous contests between the two teams at Laramie by an average of 30.8 points.
Harsin credited Bohl for Wyoming's improvement.
''They got some mojo going on out there,'' he said.
Boise State will likely fall in the poll . The question is how far. Wyoming might get consideration from a few poll voters, but it certainly will draw more attention the rest of this season and next year.
TURNOVER WOES: Entering the game, Harsin lamented the 11 turnovers the Broncos had committed this season against only three takeaways by his team. Things didn't improve against Wyoming, as Boise State turned the ball over twice on an interception thrown by Rypien and a fumble by McNichols. The Broncos fumbled two more times but retained possession. Meantime, the Broncos defense intercepted Allen once for one turnover.
WYOMING TIGHT END: Bohl said he wanted to make better use of Hollister at tight end. Entering the game, Hollister had just 10 catches for 112 yards on the season. ''He certainly was a weapon today,'' Bohl said.
Boise State: The Broncos return home for a game against San Jose State this Friday night. It is the second of three Friday night contests for Boise State this season. The Broncos are 27-7 in Friday night games.
Wyoming: The Cowboys host Utah State next Saturday. Utah State is last in the conference's Mountain Division.
More AP college football: www.collegefootball.ap.org