AUSTIN, Texas -- Shane Buechele came on for injured quarterback Sam Ehlinger early in the first quarter and No. 9 Texas beat Baylor 23-17 when the Bears' final pass sailed through the back of the end zone Saturday.
Baylor quarterback Charlie Brewer drove the Bears from their own 3 to the Texas 17 before he had to rush his final three throws under intense pressure.
The victory makes Texas (6-1, 4-0 Big 12 Conference) bowl eligible.
Texas Freshman running back Keaontay Ingram ran for 110 yards, the Longhorns' first 100-yard rushing effort of the season. Defensive end Charles Omenihu had two sacks and was chasing Brewer on the last three plays.
"We knew this wasn't going to be easy and obviously when your starting QB goes out on the first drive, there could have been some panic, a little shock," Texas coach Tom Herman said.
Buechele finished Texas' opening drive after game officials made Ehlinger leave because his right, throwing hand was bleeding. Ehlinger went to the sideline and then the locker room before school officials announced he had injured his throwing shoulder. He returned to the sideline but didn't play again and changed into street clothes.
After the game, Herman said Ehlinger has a shoulder sprain and would have an MRI to see if there is any ligament damage, but he hoped to have him throwing again in a few days.
Buechele was the full-time starter in 2016, when he set several school freshman passing records, but he hadn't played yet this season. The Longhorns struggled to find any offensive rhythm for most of the game as Buechele passed for 184 yards with one touchdown and one interception.
Texas is bowl eligible in mid-October for the first time since 2009, the last year the Longhorns won the Big 12 and played for a national championship.
Texas had consecutive losing seasons from 2014-16 and didn't get to the postseason in 2015 and 2016. The Longhorns have now qualified for bowl games in both of Herman's seasons.
Brewer passed for 245 yards and a touchdown for the Bears (4-3, 2-2), who were just 1-11 last season.
"We are getting better and we're getting tougher and we're starting to figure this out," Baylor coach Matt Rhule said. "I told them it's OK this hurts, this should hurt, for the first time since I've been here I've saw tears in their eyes and I saw the older guys really hurting."
Baylor: The Bears couldn't protect Brewer late. They ended their last three drives with Brewer either sacked or on the run as the pocket collapsed around him. The Bears' defense, the worst against the run in the Big 12, had a solid game after giving up 300 yards on the ground a week earlier.
Texas: The Longhorns may be on edge waiting to see how serious Ehlinger's injury is and if next week's open date will give him time to recover before the next game. Ehlinger accounted for five touchdowns in a breakout victory over Oklahoma. He hasn't thrown an interception in 168 attempts, a school record. He also had played every snap this season until getting hurt.
Baylor is off next week before visiting No. 6 West Virginia on Oct. 25.
Texas is off next week before visiting Oklahoma State on Oct. 27.
For more AP college football coverage: https://apnews.com/tag/Collegefootball and https://twitter.com/AP-Top25
Follow Jim Vertuno at https://twitter.com/jimvertuno
Guarantano ready to take Vols to new heights
Tennessee quarterback Jarrett Guarantano discusses the legacy he wants to leave behind on and off the field.
Stidham returns to Auburn for pro day
QB prospect Jarrett Stidham dazzles at Auburn's pro day in front of coach Gus Malzahn and NFL scouts. Watch Draft Academy, available exclusively on ESPN+.
Picking best NFL fits for the 2019 draft's top quarterbacks
Kyler Murray is perfect for what Kliff Kingsbury wants to do in Arizona. Here's where the other six top signal-callers should end up.
Ohio State QB Baldwin to enter transfer portal
Ohio State freshman quarterback Matthew Baldwin, who redshirted last season, plans to enter the transfer portal, coach Ryan Day said Thursday.
PSU's injury-plagued QB Stevens plans to transfer
Penn State quarterback Tommy Stevens intends to transfer and will not return to the school, according to his father.
Purdue QB Sindelar gets extra year of eligibility
Purdue starting quarterback Elijah Sindelar has received an additional year of eligibility from the NCAA, the team confirmed to ESPN on Thursday. Sindelar hopes he won't need the extra year, however, as he eyes a transition to the NFL.