– Mike Bercovici passed for 273 yards and two touchdowns and ran for another score, and Arizona State got its season back on track with a 38-23 victory over No. 7 UCLA on Saturday night.

Tim White and D.J. Foster caught scoring passes for the Sun Devils (3-2, 1-1 Pac-12), who responded after two September losses with an inspired effort.

"We're used to this situation, unfortunately," Bercovici said. "We've had some big losses, but what we do is we rebound."

Thomas Duarte caught his second touchdown pass from Josh Rosen with 9:19 to play, trimming the Sun Devils' lead to 29-23. But after UCLA (4-1, 1-1) got stranded inside its 1 by Matt Haack's punt, the Bruins snapped the ball out of their own end zone with 4:16 left for their second safety of the night.

Kalen Ballage wrapped it up with a 23-yard TD run with 45 seconds to play, dragging UCLA defenders for most of that distance.

Arizona State's defense rebounded splendidly after giving up 42 points in a home loss to Southern California last week. The Sun Devils shut down UCLA's running game and tormented Rosen, blitzing the freshman relentlessly while forcing him into a 22-for-40 performance for 280 yards with an interception.

UCLA's offense played three ugly quarters before coming to life in the fourth. Prolific tailback Paul Perkins was held to 63 yards rushing and a fourth-quarter touchdown.

Demario Richard led the Sun Devils with 79 yards rushing and added 57 yards receiving.