CORVALLIS, Ore. (AP) -- Oregon State was looking for a spark Thursday night to end its three-game losing streak, and Devon Collier provided it.
Collier scored 20 points on 8 of 12 shooting, helping the Beavers defeat UCLA 87-84.
Jared Cunningham had 21 points and Angus Brandt added 13 points and five assists for the Beavers (12-7, 2-5 Pac-12), who ended a 13-game losing streak to the Bruins dating to 2005.
Collier, a 6-foot-8 sophomore, has scored 20 or more points in consecutive games for the first time in an Oregon State uniform. He had 21 in a loss at Arizona State last week.
Today he just came out very aggressively, Oregon State coach Craig Robinson said. When you have a guy like that who can get points for you in the low post, it opens up everybody else.
He's evolving as a player and he had to kind of refocus, watch some tape and work on some things and get back into the groove. Collier, who also had four rebounds, said the reason for his solid game was simple.
They just kept on giving it to me and I just kept on going to work, Collier said. It was working, so they just kept on going with me.
Oregon State's three-game losing streak included a four-overtime 103-101 loss at home to Stanford and an 81-73 overtime loss at Arizona.
This was an important win for us from a lot of different standpoints, Robinson said. First and foremost, getting a win when you haven't won one in a few.
Lazeric Jones had 17 points and eight assists for UCLA (10-8, 3-3). David Wear and Travis Wear added 16 points each, and Jerime Anderson had 11 points and nine assists.
Both teams shot 58 percent from the field in the high-scoring game.
UCLA led 47-44 on a Jones 3-pointer with 16:38 left in the game, but Oregon State scored six straight points -- four by Brandt -- to retake the lead.
The Beavers later used a 7-0 run, capped by Eric Moreland's two free throws, to go on top 58-51. And Cunningham's two free throws with 10:04 left gave Oregon State its first double-digit lead at 66-55.
Consecutive baskets by David Wear got the Bruins within 74-68 with 5 minutes remaining, but Oregon State's Ahmad Starks answered with a 3-pointer. UCLA got as close as three from there, but only in the closing seconds.
Starks added 13 points for the Beavers, and Roberto Nelson had 10. The Bruins allowed more than 80 points for just the second time this season.
Our problem was not on the offensive end, as indicated with the stats here, UCLA coach Ben Howland said. You shoot (58) percent, you expect to have a chance to win. We just didn't do the job on the defensive end of the floor.
There were four ties and six lead changes in the first half. Brandt's 3-pointer with six seconds left gave Oregon State a 39-38 halftime lead.