STILLWATER, Okla. — Kanye Clary scored 17 points, and Oklahoma State scored the first seven points of overtime to help beat West Virginia, 91-84, on Tuesday night and end the Cowboys’ five-game losing streak.

Anthony Roy converted a three-point play, Parsa Fallah added a free throw and Jaylen Curry capped the extra-period surge with a 3-pointer to give Oklahoma State an 84-77 lead with 1:55 remaining. West Virginia pulled within five points twice inside the final 33 seconds but no closer.

The Mountaineers trailed by 14 points early in the second half.

Fallah and Clary made 3s to give Oklahoma State a 77-72 lead with 3:06 left in regulation. Chance Moore made 1 of 2 free throws, tipped in a shot and added a layup to knot it at 77. Clary missed a 3 at the buzzer to force overtime.

Fallah scored 18 points and grabbed eight rebounds for Oklahoma State (17-11, 5-10 Big 12). Curry added 15 points, and Andrija Vukovic scored 12. Roy and Christian Coleman scored 10 apiece.

Honor Huff made six 3s and scored 20 points to lead West Virginia (16-12, 7-8). Treysen Eaglestaff added 18 points, and Moore finished with 14 to go with 10 rebounds.

Oklahoma State scored the last nine points of the first half to take a 46-33 advantage. Two minutes into the second half, Vukovic made a pair of free throws to give the Cowboys their largest lead, 49-35.

West Virginia used a 10-0 run to take its first lead, 56-55, with 10:48 left.

West Virginia hosts No. 19 BYU on Saturday.