MORGANTOWN, W.Va. -- West Virginia was tested by Maryland's No. 8 ranked defense on Saturday, but managed a 31-21 win to wrap up the team's non-conference schedule at 3-0.
The team's Big 12 debut against Baylor is just a week away.
The Mountaineers went scoreless in the third quarter for the first time this season, converted just 7-of 15 on third down, went three-and-out four times, punted seven times, and netted just 26 rushing yards.
Quarterback Geno Smith went 30-for-43 with 338 yards and three touchdowns, was sacked twice, and had almost no run game support.
But when it came time to get it done, the Mountaineers delivered.
Leading by 10 points with less than 10 minutes to play in the fourth quarter Smith connected with Tavon Austin five times on the drive, including a 34-yard touchdown pass to make it 31-14.
Maryland's Stefon Diggs got the Terrapins on the board again, but the defense managed to shut them down on the next possession forcing a deep throw on fourth down that was intercepted by Wes Tonkery.
The West Virginia defense was responsible for the first score of the game -- a fumble that was returned for a score, and also picked up five sacks: Josh Francis had two, and Pat Miller, Darwin Cook and Karl Joseph added one apiece.