Zach Maynard threw four touchdown passes as California knocked off the 25th-ranked UCLA Bruins, 43-17. at Memorial Stadium.
Maynard completed 25-of-30 passes for 295 yards with an interception and also ran for a touchdown for the Golden Bears (2-4, 1-2 Pac-12), who snapped a three-game losing streak.
"We prepared ourselves well to win this game," Maynard said. "We had a lot of fire on our backs and our fans supported us really well today. It was a great outcome for us."
C.J. Anderson had a huge day on the ground for the Golden Bears, running for 151 yards and a touchdown on 21 carries. He also caught a touchdown pass.
Richard Rodgers led the receiving corps with seven catches for 129 yards and Keenan Allen caught eight balls for 79 yards and a pair of TDs.
Brett Hundley threw for 253 yards on 31-of-47 passing and two touchdowns, but was intercepted four times. Cassius Marsh and Joseph Fauria caught touchdown passes for the Bruins (4-2, 1-2), who have dropped two of their last three.
"He was under a lot of pressure," UCLA coach Jim Mora said of Hundley. "When you get down like we got down, sometimes you force some things. You make some throws sometimes you wouldn't make."
Johnathan Franklin ran for 103 yards on 15 carries in a losing cause.
UCLA's defense started with a bang as Maynard was picked off by Andrew Abbott at the California 30-yard line. He was pushed out of bounds after a 2-yard return.
From there, the Bruins needed seven plays to find the end zone as Hundley hit Marsh with a 4-yard touchdown strike.
The Golden Bears responded with an extensive 16-play, 66-yard drive down to the UCLA 9-yard line. Vincenzo D'Amato booted a 26-yard field goal.
UCLA's first drive of the second quarter ended abruptly as Hundley fumbled on first down at the Cal 28. The ball was picked up by Nick Forbes at the 33, giving possession back to the Golden Bears.
On the first play of the drive, Maynard hit Rodgers for 42 yards all the way down to the UCLA 25. The Golden Bears made it to the Bruins' 5-yard line before Maynard finished the drive with a 5-yard touchdown strike to Anderson for the 10-7 lead.
Ka'imi Fairbairn missed a 46-yard field goal attempt for UCLA, and California went three-and-out on its next drive. But on the 4th-and-4 play, Steven Manfro lost the ball on the return and it was recovered by Jordan Rigsbee at the UCLA 34.
The Golden Bears needed just five plays to take advantage of excellent field position as Maynard capped the short drive with an 8-yard touchdown pass to Allen, widening the lead to 16-7 at halftime. The extra point try was blocked.
California began its first drive of the second half at the UCLA 32 thanks to a 20-yard punt return by Allen.
From there, the Golden Bears needed just one play as Maynard found Brendan Bigelow for a 32-yard touchdown strike and a comfortable 23-7 margin.
Starting from their own 26 early in the third quarter, the Bruins went 74 yards in seven plays before Hundley capped the drive with a 3-yard touchdown pass to Fauria, cutting the deficit to 23-14.
The Golden Bears responded with a 9-play scoring drive on their next touch. Maynard finished the short trek with a 34-yard scoring strike to Allen, making it 29-14 with less than six minutes to play in the third quarter. D'Amato's extra point try was blocked.
UCLA bridged the third and fourth quarters with a 13-play, 77-yard drive which culminated in a 29-yard field goal by Fairbairn.
With less than eight minutes to play, California began an offensive drive at the UCLA 27 following an interception and Maynard capped the short 4-play drive with a 1-yard touchdown run.
Hundley was picked off on UCLA's final drive of the game and Anderson put an exclamation point on the blowout with a 68-yard sprint to the end zone.
The Bruins lead the all-time series, 50-32-1 ... D'Amato has converted his last five field goal attempts ... Four touchdowns tied Maynard's career-high ... It was Bigelow's fourth career touchdown ... Allen has 185 career receptions, which ranks him third all-time in program history behind Dameane Douglas (195) and Geoff McArthur (202).