Brandon Johnson hit a 17-foot straight-away jumper with 29 seconds left Saturday to break a tie and help San Diego beat Boise State 59-56.
Johnson added a free throw with 7.5 seconds left as the Toreros (5-6) ended a five-game losing streak.
Boise State (5-4) had an opportunity to tie the game but a 3-point shot by Anthony Thomas failed to hit the rim as time ran out.
Roberto Mafra had 14 points and 12 rebounds to lead San Diego. De'Jon Jackson also scored 14 for the Toreros.
La'Shard Anderson led Boise State with 13 points. Daequon Montreal added 12 and Robert Arnold had 10.
Boise State led by eight points at halftime but San Diego began the second half with a 19-8 run to take a 38-35 lead with 12:46 left.
San Diego shot 55.6 percent (5 of 9) from 3-point range in the second half.