Oklahoma State's football team made several critical mistakes and had their winning streak over Texas end with a 36-30 loss to the Longhorns at Darrell Royal-Texas Memorial Stadium in Austin, Texas, on Saturday night.
The Cowboys took the opening kickoff and marched inside the Texas 5-yard line.
On second down and goal, Chuba Hubbard fumbled, but Spencer Sanders recovered to keep the ball in OSU's possession.
The Cowboys settled for a 20-yard field goal by Matt Ammendola and led 3-0 with 9:12 to play in the first quarter.
OSU forced a Texas punt on the opening Longhorn possession, then appeared to convert a third down, but Dillon Stoner had a long pass from Sanders pop out of his hands after he hit the ground, bringing about an OSU punt.
Texas capped a 9-play, 66-yard drive by scoring on the first play of the second quarter, with Sam Ehlinger lofting a throw to Devin Duvernay in the back right corner of the end zone.
Duvernay tapped his feet down as he caught it and the Longhorns led 7-3.
Oklahoma State's ensuing possession ended on a Sanders interception as he overthrew Jelani Woods and Montrell Estell picked it off, returning it 37 yards to the OSU 28-yard line.
It took UT just three plays to capitalize, with Ehlinger passing over the middle to Jake Smith for a 17-yard touchdown to give the Longhorns a 14-3 lead with 12:42 to play in the second quarter.
OSU responded with a 43-yard field goal by Ammendola, set up by a 35-yard pass from Sanders to Wallace.
The field goal cut the Texas lead to 14-6 with 9:21 to play in the first half.
The Cowboys stopped the Longhorns on downs the next possession, then marched 70 yards in six plays to a score.
Sanders threw deep to Braydon Johnson for a gain of 55, then Sanders kept for a 7-yard touchdown to cut the Texas lead to 14-13 with 3:07 to play in the second quarter.
Sanders did not have a touchdown pass, and was 19-for-32 passing for 268 yards with two interceptions.
Texas responded with a big play, with Ehlinger throwing to Brennan Eagles for a 73-yard touchdown to extend the lead to 21-13 with 2:09 to play in the first half.
Texas forced an OSU punt next, but UT's Jake Smith muffed the punt and the Cowboys recovered at the Longhorn 15-yard line.
OSU scored four plays later, with Hubbard scoring from a yard out to make it 21-20 Texas with 11 seconds to play in the first half.
The Cowboys forced a Texas punt on the first possession of the second half, and then OSU got a 27-yard field goal from Ammendola to give the Cowboys a 23-21 lead with 8:02 to play in the third quarter.
Texas regained the lead with a 7-play, 75-yard drive, with Ehlinger passing to Cade Brewer for a 25-yard touchdown to make it 28-23 Longhorns with 5:30 to play in the third quarter.
Ehlinger was 20-for-28 passing for 281 yards and four touchdowns.
OSU marched inside the Texas 5-yard line, but on 4th and 1 from the Texas 4, Hubbard was stopped short and the Longhorns took over on downs.
Texas' drive was stopped when Rodarius Williams intercepted Ehlinger and returned it 22 yards to the Texas 31-yard line.
OSU was set to attempt a field goal early in the fourth quarter, but faked it, and it didn't work.
Holder Jake McClure tried to toss the ball forward to Jelani Woods, but the toss went past Woods and fell incomplete, giving Texas the ball at their own 27-yard line.
The Longhorns then marched 73 yards in six plays, with Roschon Johnson scoring on a 2-yard run, then catching a pass from Ehlinger for a 2-point conversion to put Texas up 36-23 with 11:44 to play.
OSU turned the ball over on their next possession, as Sanders was hit as he threw and Chris Brown intercepted for the Longhorns, returning it 10 yards to the OSU 47-yard line.
The two teams exchanged three punts after that, then Texas muffed a punt and Kemah Siverand recovered for OSU at the Texas 46-yard line.
OSU converted, as Hubbard scored on a 13-yard touchdown run to trim the Texas lead to 36-30 with 1:37 to play.
Hubbard had 121 yards on 37 carries.
The Cowboys needed a stop to get the ball back and have a chance to win, but Ehlinger gained 29 yards on 3rd down to seal the win for the Longhorns.
OSU had won four in a row over Texas, seven of the last nine overall, and five straight in Austin.
The Cowboys dropped to 3-1 on the season, while Texas improved to 3-1.
OSU hosts Kansas State next Saturday at 6:00 pm at Boone Pickens Stadium in Stillwater.