Updated

Gennifer Brandon had 13 points, 10 rebounds and a key block with 20 seconds left to help preserve No. 7 California's 59-56 win over No. 20 Colorado on Friday night.

Laysia Clarendon added 13 points and five rebounds while Brittany Boyd scored 10 points for the Golden Bears (16-2, 6-1 Pac-12). Cal trailed by 16 in the first half before rallying for its fourth win over a ranked team in the last three weeks.

Brittany Wilson had 11 points and five rebounds but missed a potential game-tying shot as time expired, ending a four-game winning streak for the Buffaloes (15-3, 4-3).

Cal edged Colorado 53-49 on Jan. 6 in a game decided in the final moments. The Bears needed to sweat out a last-second shot by the Buffaloes in that one, too.

This time it was Cal that needed to come back late.

The Bears were down 32-16 with 4 minutes left in the first half but went on an 18-2 run extending into the second half. Then they went on two more big runs to secure the victory.

Colorado didn't go quietly.

After Boyd scored on consecutive trips down the floor to put Cal up 58-54, Jen Reese made a layup to cut the gap in half. Boyd then missed two short shots but Colorado's Arielle Roberson missed a hook shot and had a layup blocked by Brandon with 20 seconds left.

The Buffaloes, off to their best start in nine years, had one final shot but Wilson's 3-point attempt was off.

Cal remains tied with Stanford for first place in the Pac-12.

The Bears did it by beating the Buffaloes at their own game.

Colorado went into the game with the Pac-12's top scoring defense and extended its impressive streak of holding opponents under 60 points to nine straight games. But Cal's defense was equally impressive in the second half, particularly down the stretch when the Buffaloes were held scoreless over the final 1:49.

It was the complete opposite in the first half.

Wilson scored nine straight points and Lexy Kresl made a 3-pointer to give Colorado a 32-16 lead. The Buffaloes had little problem against Cal's zone defense, beating the Bears both inside and from the perimeter.

As good as its offense looked, Colorado's defense made the biggest difference in the first half.

The Buffaloes held Cal to 22.9 percent shooting, allowed only three baskets over the final 9 minutes and gave up only four second-chance points even though the Bears grabbed 16 offensive rebounds.

Cal, which has played five ranked teams in the last three weeks, managed an 8-0 run to close out the half but still trailed 32-24 at the break.

Clarendon, the Bears' leading scorer, missed six of her first seven shots from the floor but had four points as part of a 10-2 run early in the second half that tied the game 34-all.

Brandon later had eight points during an 11-2 run to give Cal a 45-41 lead with 10:19 remaining. It stayed close the rest of the way until Clarendon's clinching free throw with 14.8 seconds left.