STANFORD, Calif. (AP)Spencer Jones and Michael Jones each scored 18 points and Stanford broke through at the defensive end to earn its first Pac-12 Conference win, knocking off Oregon State, 67-46 on Thursday night.

The Cardinal built a 31-22 lead by intermission but the Beavers battled back to start the second half behind 3-pointers from Tyler Bilodeau and Glenn Taylor Jr. and a layup from Dexter Akanno to get within one less than three minutes into the period. Harrison Ingram and Maxime Raynaud each got to the basket for layups and Spencer Jones knocked down a 3. When Raynaud dunked with 13:21 left the Cardinal was back in front by double digits and they cruised home.

Stanford (6-12, 1-7 Pac-12) had lost seven straight games to start the conference season and the win snapped a five-game loss string.

Spencer Jones hit 4 of 8 from distance and Michael Jones hit 4 of 6. Ingram finished with eight rebounds and six assists and Raynaud added 12 points with six boards. Stanford hit 26 of 58 from, the field (44.8 percent) and checked the Beavers on 14 of 41 shooting (34.1%), including 7 of 21 from distance.

Stanford plays host to Oregon Saturday, Oregon State plays at Cal on Sunday.

More AP college basketball: https://apnews.com/hub/college-basketball and https://apnews.com/hub/ap-top-25-college-basketball-poll and https://twitter.com/AP-Top25