LOS ANGELES (AP) — Freshman Chase McGrath kicked a 43-yard field goal in the second overtime after hitting a tying 31-yarder on the final snap of regulation, and No. 4 Southern California rallied for a wild 27-24 victory over Texas on Saturday night.

Sam Darnold passed for 397 yards and three touchdowns to help the Trojans (3-0) surge to their 12th consecutive victory.

Christian Rector forced a goal-line fumble by Texas quarterback Sam Ehlinger in the second overtime before McGrath coolly ended it.

After 55 minutes of defense-dominated football, both offenses erupted late to create a pretty decent sequel to these powerhouse programs’ last meeting in the landmark 2006 Rose Bowl.

Ehlinger passed for 298 yards and led a 91-yard, go-ahead TD drive late in regulation for the Longhorns (1-2), who were narrowly denied a huge win early in coach Tom Herman’s debut season.

Ehlinger hit Armanti Foreman with a 17-yard touchdown pass with 45 seconds left, but McGrath tied it on the final snap of regulation after Darnold drove the Trojans 52 yards in about 30 seconds.

Deontay Burnett caught a 25-yard touchdown pass from Darnold on the first snap of overtime, but Cade Brewer caught a short TD pass to cap Texas’ first OT possession.

Texas reached the goal line in the second OT before Rector ripped the ball out of Ehlinger’s hands while the freshman quarterback attempted to score.

Both defenses dominated until late in Texas’ first visit to the Coliseum in 50 years. The schools hadn’t met since the Longhorns won the national title with a thrilling 41-38 victory in Pasadena.

Even with Vince Young and Matt Leinart in attendance, both current offenses showed no signs of replicating that beauty in the rematch — until everything went crazy in the final minutes.

The game was scoreless until 2:40 before halftime, when Burnett made a diving TD catch.

The Longhorns tied it moments later when Darnold’s perfect pass smacked off receiver Jalen Greene’s hands and DeShon Elliott snatched it for a 38-yard TD interception return.

Instead of kneeling out the half, Darnold threw underneath Texas’ prevent defense to Ronald Jones, who sprinted across the field for a 56-yard TD, getting a devastating block from receiver Steven Mitchell on the way in.

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)

More From CBS Dallas / Fort Worth

Drip Pan: CBS Local App
Drip Pan: Weather App
Drip Pan: Only CBS

Watch & Listen LIVE