State College, Pa. – Trace McSorley tied Penn State’s record for wins by a quarterback with his 29th, and the 21st-ranked Nittany Lions beat Wisconsin 22-10 on Saturday.

Miles Sanders ran for 159 yards and a touchdown on 23 carries, and McSorley completed 19 of 25 passes for 160 yards and a TD while matching Todd Blackledge’s victory total from 1980-82.

DeAndre Thompkins caught a touchdown pass for Penn State (7-3, 4-3 Big Ten, No. 20 CFP), which held the Badgers (6-4, 4-3) to 125 yards in the second half and sacked backup quarterback Jack Coan five times.

Jonathan Taylor ran 20 times for 185 yards and a touchdown, but Coan completed 9 of 20 passes for 60 yards with two interceptions. The Badgers have lost three of their last five games.

Jake Pinegar made three field goals for Penn State while Wisconsin kicker Rafael Gaglianone added the Badgers’ final points midway through the third quarter.

Wisconsin broke through first when Taylor ran 71 yards to the end zone on the Badgers’ first possession.

But McSorley led back-to-back scoring drives to give the Nittany Lions the lead for good. He hit Thompkins for a 14-yard touchdown pass to cap an eight-play drive, then led the offense just past midfield to set up Pinegar’s 49-yard field goal.

Sanders added a 1-yard touchdown run midway through the second.

The Badgers were limited on offense with starting quarterback Alex Hornibrook out with a concussion.

(At) Indiana 34, Maryland 32: Peyton Ramsey threw two touchdown passes, Logan Justus made the go-ahead field goal with 2:32 left and the Hoosiers recovered a fumble in the final minute.

The Hoosiers (5-5, 2-5 Big Ten) ended a four-game losing streak and kept their bowl hopes alive with the victory. They will try to get their first victory against Michigan in Ann Arbor since 1967 next Saturday.

Anthony McFarland rushed for a career-high 210 yards in relief of the injured Ty Johnson but the Terrapins’ postseason plans took a big hit with their third consecutive road loss.

Maryland (5-5, 3-4) had a chance to rally for the winning score after Justus’ 42-yard field goal gave the Hoosiers a 34-32 lead. But backup quarterback Tyrrell Pigrome lost the ball on a sack near midfield with 52 seconds left and Nile Sykes recovered the fumble for Indiana.

(At) Nebraska 54, Illinois 35: Adrian Martinez threw for 290 yards and accounted for four touchdowns, and Devine Ozigbo ran for 162 yards and three scores.

Illinois (4-6, 2-5 Big Ten) committed turnovers on four of five full possessions spanning the halves, and Nebraska (3-7, 2-5) converted them into 24 points.

Wearing alternate uniforms to mark the 100th anniversary of the end of World War I, the Huskers rolled up 606 total yards on a raw afternoon when the wind chill dipped to 13 degrees. Illinois amassed 509 yards in the meeting of the Big Ten’s worst defenses.

Martinez was 24 of 34 and threw for three touchdowns, and he ran 13 times for 55 yards a TD.

Ozigbo broke a career-long 66-yard touchdown run in the second quarter and went 60 yards for another TD in the fourth to finish off the Illini. His 162 yards leaves him 42 short of becoming the Huskers’ first 1,000-yard rusher since 2014.

Stanley Morgan Jr. caught eight passes for 131 yards and two TDs and moved to No. 2 on the school’s all-time receiving list behind Kenny Bell.

(At) Minnesota 41, Purdue 10: Minnesota’s maligned defense held Purdue to season-lows in yards and points, and Seth Green had a touchdown rushing and passing for the Gophers.

Redshirt freshman Mohamed Ibrahim ran for 156 yards for Minnesota, which played its first game under interim defensive coordinator Joe Rossi and posted its best showing in conference play after entering the game allowing 43.2 points and 507.7 yards per game.

Gophers linebacker Blake Cashman forced a fumble and returned it 40 yards for a touchdown as Minnesota (5-5, 2-5 Big Ten) held Purdue to 233 total yards and 0 of 12 on third down.

Senior quarterback David Blough was 20 of 31 for 142 yards passing for the Boilermakers (5-5, 4-3), who entered the game second in the Big Ten scoring with 35.8 points per game.