TCU quarterback Max Duggan ran for the go-ahead score with 4 minutes left and the Horned Frogs' defense made it stand with a goal-line fumble recovery to stun No. 9 Texas 33-31 Saturday in a game that had 26 penalties and ended when TCU took a safety as time ran out.

Texas looked primed for its second straight fourth-quarter comeback when Sam Ehlinger connected on a 52-yard pass to Keontay Ingram to put the Longohorns in scoring position. But Ingram fumbled on the TCU 1-yard-line with 2:32 to play.

More Images
TCU quarterback Max Duggan (15) scores a touchdown on a run against Texas during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

TCU quarterback Max Duggan ran for the go-ahead score with 4 minutes left and the Horned Frogs' defense made it stand with a goal-line fumble recovery to stun No. 9 Texas 33-31 Saturday in a game that had 26 penalties and ended when TCU took a safety as time ran out.

Texas quarterback Sam Ehlinger (11) looks to throw against TCU during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

TCU (1-1, 1-1 Big 12) is now 7-2 against Texas since joining the Big 12 in 2012. The Texas loss delivers another blow to the Big 12's College Football Playoff hopes. The Longhorns (2-1, 1-1) and Oklahoma, who were the league's highest ranked teams, have now dropped early home games to unranked opponents.

TCU quarterback Max Duggan (15) is hit by Texas linebacker Joseph Ossai (46) during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

After last week's furious comeback win at Texas Tech, the Longhorns thought they had another when Ehlinger gave Texas its first lead with a TD throw to Malcolm Epps for their first lead. He then led Texas right back down the field after Duggan's scoring run. Then came Ingram's fumble.

Texas running back Bijan Robinson (5) returns a kick against TCU during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

TCU: Duggan's play gives TCU hope the Horned Frogs may be able to compete for the Big 12 title. Duggan was sharp on throws early and late, and had the stamina to find the moves and the speed for the late touchdown even after getting hit hard several times during the game.

Texas wide receiver Jake Smith (7) is hit by TCU safety Ar'Darius Washington (24) as he makes a catch for a touchdown during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

Texas will tumble out of the Top 10 in more bad news for the Big 12.

Texas wide receiver Jake Smith (7) is hit by TCU safety Ar'Darius Washington (24) as he makes a catch for a touchdown during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

Texas wide receiver Jake Smith (7) is hit by TCU safety Ar'Darius Washington (24) as he makes a catch for a touchdown during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

Darwin Barlow ran 9 yards to pick up a big first down for the Horned Frogs. Duggan then took a deep snap all the way to the back of the end zone to run out the final 6 seconds.

TCU quarterback Max Duggan (15) scores a touchdown on a run against Texas during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

TCU quarterback Max Duggan (15) scores a touchdown on a run against Texas during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

TCU (1-1, 1-1 Big 12) is now 7-2 against Texas since joining the Big 12 in 2012. The Texas loss delivers another blow to the Big 12's College Football Playoff hopes. The Longhorns (2-1, 1-1) and Oklahoma, who were the league's highest ranked teams, have now dropped early home games to unranked opponents.

Duggan made his first start of the season after missing much of training camp while treating a previously undiagnosed heart condition. He passed for 231 yards and ran for 79 more and scored twice. His late 26-yard TD run caught the Texas defense by surprise as he had a clear path to the end zone.

Ehlinger threw four touchdown passes on an otherwise difficult day for him. Ehlinger was just 17 of 36 for 236 yards. His 14 touchdown passes in three games lead the nation.

Texas quarterback Sam Ehlinger (11) looks to throw against TCU during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

Texas quarterback Sam Ehlinger (11) looks to throw against TCU during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

After last week's furious comeback win at Texas Tech, the Longhorns thought they had another when Ehlinger gave Texas its first lead with a TD throw to Malcolm Epps for their first lead. He then led Texas right back down the field after Duggan's scoring run. Then came Ingram's fumble.

Griffin Kell kicked four field goals for the Horned Frogs in a sloppy game by both teams with rampant penalties. The NCAA single-game record for penalties is 36, set in 1986 by Fresno State and San Jose State.

THE TAKEAWAY

TCU quarterback Max Duggan (15) is hit by Texas linebacker Joseph Ossai (46) during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

TCU quarterback Max Duggan (15) is hit by Texas linebacker Joseph Ossai (46) during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

TCU: Duggan's play gives TCU hope the Horned Frogs may be able to compete for the Big 12 title. Duggan was sharp on throws early and late, and had the stamina to find the moves and the speed for the late touchdown even after getting hit hard several times during the game.

Texas: The Longhorns now find themselves in a fight to get to the Big 12 title game with a huge game against Oklahoma next week. Ehlinger can't do everything for the Longhorns every week. The defense was much better this week and held the Horned Frogs to field goals instead of touchdowns on several key drives, but broke when it mattered at the end.

POLL IMPLICATIONS

Texas running back Bijan Robinson (5) returns a kick against TCU during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

Texas running back Bijan Robinson (5) returns a kick against TCU during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

Texas will tumble out of the Top 10 in more bad news for the Big 12.

UP NEXT:

TCU hosts Kansas State next Saturday

Texas plays Oklahoma in the Cotton Bowl in Dallas next Saturday.

More AP college football: http://apnews.com/tag/Collegefootball and http://www.twitter.com/AP_Top25

Texas wide receiver Jake Smith (7) is hit by TCU safety Ar'Darius Washington (24) as he makes a catch for a touchdown during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

Texas wide receiver Jake Smith (7) is hit by TCU safety Ar'Darius Washington (24) as he makes a catch for a touchdown during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

Texas wide receiver Jake Smith (7) is hit by TCU safety Ar'Darius Washington (24) as he makes a catch for a touchdown during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)

Texas wide receiver Jake Smith (7) is hit by TCU safety Ar'Darius Washington (24) as he makes a catch for a touchdown during the first half of an NCAA college football game, Saturday, Oct. 3, 2020, in Austin, Texas. (AP PhotoEric Gay)