AMES, Iowa (AP) — One turnover in a game played in a biting wind. And it came from such an unlikely source.

Iowa State's Jeff Woody, as reliable as anyone on the team at securing the ball, fumbled into the end zone as the Cyclones were moving into position for a possible tying touchdown in the final minutes against West Virginia on Friday.

Karl Joseph recovered for the Mountaineers and they ran out the clock for a 31-24 victory that broke a five-game losing streak.

"I was disappointed for our seniors that they couldn't close out their careers with a win in Jack Trice Stadium," Iowa State coach Paul Rhoads said. "We certainly gave ourselves an opportunity to. Turnovers will always cost you, as will giving up big plays to a very talented offensive group of football players."

West Virginia's Tavon Austin made the biggest play, taking what amounted to a touch pass from Geno Smith as he cut in front of his quarterback, turning the corner and outrunning the pursuit down the left sideline for a 75-yard touchdown with 6:31 left, erasing a 24-23 Iowa State lead.

Austin's only touchdown of the game came on the Mountaineers' first play after Edwin Arceo had put the Cyclones ahead with a 49-yard field goal.

"He's an explosive player," Iowa State defensive lineman Jake McDonough said. "It was hard to mimic his explosiveness during the week. It was what we expected of him. He is a playmaker and we had to get him stopped, but we couldn't."

Freshman quarterback Sam Richardson drove Iowa State (6-6, 3-6 Big 12) to the West Virginia 7, but Woody fumbled on a first-down run and the Cyclones never got the ball back.

West Virginia (6-5, 3-5) became bowl eligible for the 11th straight season with the victory and could enhance its postseason position with a victory over Kansas at home in its regular-season finale next Saturday. The Mountaineers' losing streak had been their longest since dropping six in a row in 1986.

Iowa State played its regular-season finale and will await its third bowl bid in Rhoads' four seasons.

Both teams put up decent numbers despite raw, blustery conditions. The wind blew at a steady 15 mph out of the northwest and the wind chill was 21 degrees at kickoff in the first game between the two schools.

Smith fell well short of his 336-yard passing average, but still completed 22 of 31 for 236 yards and two touchdowns. He worked against an Iowa State secondary missing injured starters Jansen Watson and Durrell Givens, the national leader in takeaways.

Austin was held to 74 yards rushing in 14 carries after gashing Texas for a school record 344 yards last week. But the power running of 5-foot-11, 235-pound Shawne Alston helped keep the Mountaineers moving.

Alston carried 19 times for a career-best 130 yards and a touchdown and helped his team play keep-away at the end.

Richardson, making his first start after throwing four touchdown passes in a relief role at Kansas last week, completed 13 of 31 passes for 162 yards and three touchdowns. Often forced out of the pocket, he showed some nimble feet in scrambling for 119 yards in 18 carries.

"He did his job," wide receiver Jerome Tiller. "He did everything he was supposed to do. He didn't do anything wrong, not to my eyes at least."

Neither quarterback was intercepted and despite the frigid conditions, there were no fumbles until Woody's near the end.

With Iowa State leading 21-20, a holding penalty negated Austin's 68-yard touchdown on a punt return. The Mountaineers ending up settling for a field goal, Tyler Bitancurt coaxing through a 35-yarder that nicked the left upright for a 23-21 lead with 9:35 left. Bitancurt had missed a 46-yard attempt in the first quarter when the ball hit the left upright and bounced back onto the field.

Iowa State had taken its first lead of the game at 21-20 when Richardson hit Quenton Brundage in stride for a 35-yard touchdown with 4:56 left in the third quarter. They hooked up six plays after the Mountaineers went up 20-14 on Bitancurt's 44-yard field goal.

West Virginia chipped away at the Iowa State defense on a time-consuming drive that stalled after a holding penalty at the Cyclones' 33. Cleyon Laing's sack of Smith on third down forced the field goal.

After West Virginia managed only a 3-0 lead with the wind at its back in the first quarter, Smith took the Mountaineers on two snappy touchdown drives against the wind in the second period.

He completed passes of 27 and 23 yards to Steadman Bailey before Alston wedged into the end zone from a yard out to make it 10-0. The next time Smith and his teammates got the ball, he finished a 70-yard, eight-play drive with a 6-yard touchdown pass to Bailey, who beat Givens' replacement, Gage Shaeffer, on a square out.

But Iowa State and Richardson answered both scores. Richardson found Jerome Tiller in the back left corner of the end zone for an 8-yard touchdown to cut the lead 10-7. Then, taking over at the Iowa State 29 with just 1:32 left in the half, Richardson executed the 2-minute offense to perfection. He converted a third-and-10 with an 18-yard pass to Jarvis West and scrambled for 21 yards on fourth-and-6 from the West Virginia 39.

On the next play, Richardson hit Josh Lenz, who made a shoe-top catch for an 18-yard touchdown with 18 seconds left in the half, drawing the Cyclones to 17-14.

"We took the ball down the field and had a chance to punch it in and tie the game up," Rhoads said. "I would have liked our chances in overtime."

Seeing a chance to end their losing streak, the Mountaineers never let it get that far.