BOISE, Idaho (AP) Brett Rypien passed for 211 yards and three touchdowns and Jeremy McNichols rushed for 166 yards to lead Boise State to a 34-14 victory over Wyoming on Saturday night.

Boise State (6-2, 3-1), humbled in its worst Mountain West Conference loss in school history a week ago, needed the win to keep pace with Mountain Division-leading Utah State.

Wyoming (1-7, 1-3), which notched its first victory last week, suffered its largest defeat of the season.

More from FoxSports

The Cowboys' Brian Hill, who entered the game ranked fourth in the nation in rushing, eclipsed the 1,000-yard mark for the season and became the fastest to reach that plateau in school history.

However, Boise State's defense held Hill well below his 140.7 yards per game average, limiting him to 76 yards on 23 carries. Wyoming mustered only 233 yards, its lowest output of the season.