Chasson Randle matched his career high with 33 points, but it still wasn't enough to avoid an upset, with Washington State beating visiting Stanford, 89-88, in a Pac-12 Conference basketball contest Saturday night in Pullman.
Stefan Nastic and Anthony Brown each added 10 points for the Cardinal, which had won nine of its previous 11 games.
Stanford (6-3 in the Pac-12, 15-6 overall) returns home and will play UCLA in a 6 p.m. contest Thursday.
Randle was 13 of 14 from the foul line as the teams combined to go 56 of 76 from the charity stripe.
Randle sank a pair of free throws to tie the game at 65 with 8:16 remaining to play. The Cougars answered with a 13-5 run that gave them their biggest lead at 78-70 with 3:41 left.
Washington State was still up by eight, 84-76, with 1:47 remaining. Dorian Pickens hit a lay-up, Rosco Allen sank a 3-pointer and Anthony Brown converted a pair of foul shots to pull within 84-83 with 52 seconds left.
The Cougars went 5 of 6 from the foul line the rest of the way to hold off the Cardinal, which missed a pair of jumpers down the stretch.
Pickens hit a 3-pointer at the final buzzer for the margin of victory as the Cougars ended a four-game losing streak to Stanford and a four-game losing streak overall.
Stanford showed signs of running away with the game early, racing to a 29-15 advantage at the midway point of the first half.
The Cardinal missed nine straight shots, including five 3-point attempts and three lay-ups, and went 3 for 14 the final 10 minutes of the first half, allowing the Cougars to go on a 27-11 run until Reid Travis, in his first action since returning from an injury, made a free throw.
Washington State took a surprising 42-41 lead into halftime.