DALLAS (AP) Kennedy Brooks took the final snap for sixth-ranked Oklahoma, after freshman quarterback Caleb Williams had taken over when Spencer Rattler was again benched in the Red River rivalry game.
Brooks ran for 217 yards and two go-ahead touchdowns in the fourth quarter, including a direct snap for a 33-yard game-winner with 3 seconds left, and the Sooners beat No. 21 Texas 55-48 on Saturday in the highest-scoring game of 117 meetings in a series that will soon move to the Southeastern Conference.
''I just ran straight and scored,'' Brooks said, crediting the offensive line and the receivers blocking downfield. ''Just a great call by Lincoln Riley. It's a great play setup.''
The Sooners (6-0, 3-0 Big 12) appeared to be trying to set up for a game-ending field goal when Brooks instead broke free for a sprint to the end zone.
''Give him some clean lanes ... that was important regardless of who was playing quarterback,'' Riley said.
Oklahoma hadn't even led until Brooks had an 18-yard TD with 7:10 left that made it 48-41. His rush was the first play from scrimmage after OU tied the game and kicked off to Xavier Worthy, who had the ball stripped away by Caleb Kelly.
The Sooners overcame a 28-7 deficit after the first quarter, matching the second-largest comeback in program history. And when it was over, Oklahoma students who were part of the sellout crowd at 92,100-seat Cotton Bowl Stadium streamed onto the field to celebrate with their team.
''I'm trying to think of the moments in my career that I've been prouder of a team,'' Riley said. ''If there's any, it's not many.''
Worthy had nine catches for 261 yards and two scores for the Longhorns (4-2, 2-1), and his 31-yard TD catch tied the game with 1:23 left before the winning drive by the Sooners.
Williams ran for a 66-yard score on a fourth-and-1 and completed 15 of 24 passes for 211 yards and two touchdowns after replacing Rattler, who had two turnovers in the first half that led to Texas touchdowns. Rattler did return to throw the tying 2-point conversion after Williams' 52-yard TD pass with 7:25 left to Marvin Mims, who made a leaping catch and managed to get a toe down inbounds before falling on the pylon.
''He came in and he executed. He did what he was coached to do and that was a big help for us,'' Mims, who finished with five catches for 136 yards and his first two TDs, said of Williams.
Rattler was benched early in last year's game against Texas, but came back after halftime and threw two of his three TDs in the four overtimes the Sooners needed for a 53-45 win.
Texas led 14-0 less than two minutes into this game, getting a 75-yard catch-and-run TD by Worthy on the first play and Bijan Robinson's 2-yard scoring run after DeMarvion Overshown's blocked punt. There was even a fox that ran down the field and through the end zone before the Sooners had a first down.
The Longhorns, who had won three in a row since a loss to future SEC foe Arkansas in Week 2, had never lost when scoring at least 48 points. They gave up 662 total yards, and gained 516.
''At the end of the day when these two teams get together, this is kind of the story, right? The ball is going up and down the field,'' first-year Texas coach Steve Sarkisian said. ''You've got to try to find a way to create turnovers, which we did early. Unfortunately, the one that we had on the kickoff return was a costly one right there in the fourth quarter.''
Longhorns quarterback Casey Thompson, whose father played for Oklahoma, was 20-of-34 passing for 388 yards and five touchdowns even with a swollen thumb that got banged early in the game. Robinson ran 20 times for 137 yards.
''It's a tough game, and it's a very mental and physically taxing sport. It comes down to executing for four quarters,'' Thompson said. ''Obviously we didn't get it done, but we have to give credit to those guys. They made plays when it counted.''
Gabe Brkic kicked four field goals (26, 29, 35 and 40 yards) for the Sooners, but after the last run instead kicked his fifth extra point.
Oklahoma: The turnovers by Rattler are troubling for the Sooners, but Williams handled the situation and made some big throws on the run. After both of Rattler's turnovers, when the Sooners were trying to get within one score, Texas got in the end zone three plays later. Rattler had a 4-to-1 touchdown-to-interception ratio (28-7) as a freshman last year, but that is down to 2-to-1 (10-5) for the preseason AP All-American at the midpoint of this season.
Texas: The Longhorns could play Oklahoma again if both finish in the top two of the Big 12 standings and meet in the conference championship game in December about 20 miles away. Texas has to recover quickly with 12th-ranked Oklahoma State (5-0, 2-0) up next, another game that could go a long way in determining if the Longhorns get that chance.
For the first time in three weeks, Oklahoma likely won't drop a spot or two in the Top 25. The preseason No. 2 may even move up a spot Sunday. The Longhorns could fall out for the second time this season after one week back in the rankings.
Oklahoma: The Sooners play at home for the only time in a four-game span when they host TCU next Saturday.
Texas: The Longhorns were the home team Saturday, but the game against Oklahoma State next Saturday will be their only one on the Austin campus in a six-week span that includes their bye week.
More AP college football: https://apnews.com/hub/college-football and https://twitter.com/AP-Top25. Sign up for the AP's college football newsletter: https://apnews.com/cfbtop25