Roschon Johnson flaunted his two-way qualities, playing both as a quarterback and running back, for Texas Longhorns to Kansas State Wildcats 22-17.

Johnson, a junior, ran for a career-best 179 yards, Cameron Dicker kicked three field goals, and Texas summoned some critical stops on defense to grind a much-awaited victory. Texas (5-7, 3-6 Big 12) ended the regular season by snapping a six-game losing streak, its longest since 1956.

Also Read | NCAA: Caleb Williams stars as Oklahoma sink Iowa State 28-21

“We needed to snap that losing streak,” Texas coach Steve Sarkisian said, according to Associated Press inputs. “It was heavy. That doesn’t discount the way the previous games went. But it’s OK to smile.”

Johnson started in place of Bijan Robinson, the team’s No. 2 running back, who carried for 1,127 yards this season but missed the previous two games due to a dislocated elbow. Johnson ran 31 times for a total of 77 yards, including 11 times in the fourth quarter for 77 yards. In the first quarter, he scored on a 9-yard run.

Also Read | NCAA: Tyrese Martin leads UConn Huskies to victory over Binghamton Bearcats

With Robinson out, starter quarterback Casey Thompson nursing a sprained thumb on his throwing hand, and backup Hudson Card out with an ankle injury, Sarkisian occasionally used Johnson as the wildcat formation’s quarterback. He got two yards on his lone throw attempt.

Thompson threw for 170 yards and a score on 17 of 23 passing attempts.

Also Read | NCAA: East Carolina trump Memphis Tigers deep in overtime

With 4:03 left in the game, Texas, which has struggled to stop the run this season, stopped star running back Deuce Vaughn on third and one at the Longhorn 17 and backup quarterback Will Howard on fourth down.

Kansas State (7-5, 4-5) was without starter quarterback Skylar Thompson, who injured his ankle against Baylor last week. In the second quarter, Howard, his substitute, rushed for a 71-yard touchdown, untouched by a defender. Howard, on the other hand, completed only nine of thirteen throws for 65 yards.

With inputs from the Associated Press