Texas players celebrate Armanti Foreman's touchdown catch to take the lead against USC late in the fourth quarter at the Los Angeles Memorial Coliseum on Saturday, Sept. 16, 2017. USC won, 27-24, in two overtime periods. Wally SkalijTNS

Texas players celebrate Armanti Foreman's touchdown catch to take the lead against USC late in the fourth quarter at the Los Angeles Memorial Coliseum on Saturday, Sept. 16, 2017. USC won, 27-24, in two overtime periods. Wally SkalijTNS

Never miss a local story.

The Longhorns sent the game to a second overtime when Ehlinger threw a 3-yard touchdown pass to Cade Brewer.

Darnold finished with 397 yards passing and three touchdowns to help USC notch its 12th consecutive victory.

“It’s good to get a great win against such a great Texas team,” Darnold said. “We gave it all we had. They gave it all they had. It was just a great win for our guys. We learned a lot of things about our offense. Good things, and things we’ve got to figure out.”

Both defenses were in charge 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.

Texas took a 17-14 lead with 45 seconds left in the fourth quarter when Ehlinger threw a 17-yard touchdown pass to wide receiver Armanti Foreman.

That was the Longhorns’ first offensive touchdown of the game.

The Trojans quickly moved downfield for the tying field goal, a 31-yarder from McGrath. Darnold’s pass beating a Texas blitz to Steven Mitchell Jr. with eight seconds left went for 18 yards to the Texas 13 for a first down.

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 with 19 seconds left in the first half.

USC, however, came right back. The Trojans scored with five seconds left in the first half on a 56-yard pass from Darnold to Ronald Jones II, who weaved his way through the Longhorns defense.