Baylor’s last-second toss that could have resulted in a huge upset of No. 9 Texas fell incomplete out of the back of the end zone.

Quarterback Charlie Brewer fearlessly led the Bears on its final drive, moving from their own 3 to the Texas 17. But none of Brewer’s final three passes were anywhere close to a Baylor receiver.

And with that, Texas claimed a 23-17 victory over Baylor on Saturday at Darrel K. Royal Texas Memorial Stadium.

Brewer passed for 245 yards, a touchdown and an interception. But the Bears struggled to get their running game going. John Lovett led Baylor with 21 rushing yards as Texas held the Bears to 2.5 yards per carry.

Baylor’s defense improved in the big-play category after giving up 12 scoring plays of 24 yards or longer against Oklahoma and Kansas State.

Texas backup quarterback Shane Buechelle tossed a 44-yard touchdown pass to Collin Johnson, but other than that, Baylor made the Longhorns earn yards all day. (Texas starting quarterback Sam Ehlinger left the game with a shoulder injury in the first quarter.)

Texas finished with 389 yards of total offense.

However, Baylor shut out the Horns in the second half, giving the Bears’ offense a chance to come back from a 23-10 halftime deficit.

Baylor’s Jalen Hurd ran two yards for a touchdown that capped a 6-play 56-yard touchdown drive with 4:33 to go in the third quarter.

That meant the Bears were within a touchdown for the final 19 minutes, but couldn’t get the big play they needed late in the second half.