STILLWATER, Okla. (AP) - Taylor Cornelius passed for 338 yards, ran for 106 more and threw a touchdown to Tylan Wallace with 42 seconds remaining to rally Oklahoma State past No. 7 West Virginia, 45-41, on Saturday.
West Virginia quarterback Will Grier led the Mountaineers down to the Oklahoma State 14-yard line but couldn't connect with David Sills V on the final play. The loss all but ended West Virginia's shot at the College Football Playoff and put a dent in Grier's Heisman Trophy campaign.
Oklahoma State (6-5, 3-5) became bowl eligible with the victory. West Virginia (8-2, 6-2, No. 9 CFP) faces Oklahoma next Friday and still has a shot at reaching the Big 12 title game.
Grier's 6-yard touchdown run on fourth down in the fourth quarter gave West Virginia a 41-31 lead, but Cornelius' 16-yard touchdown run and a stop by Oklahoma State's defense put the Cowboys in position to win.
Oklahoma State now has Top 25 wins over Boise State, Texas and West Virginia this season. The Cowboys won despite leading rusher Justice Hill sitting out with a rib injury.
West Virginia: The Mountaineers wasted a major opportunity and now don't have quite as much to play for against Oklahoma.
Oklahoma State: Cornelius made up for two interceptions earlier in the game with a strong fourth quarter.
West Virginia will likely drop out of the Top 10 after the loss.
West Virginia hosts No. 6 Oklahoma on Friday.
Oklahoma State plays at TCU on Saturday.