NORTHRIDGE, Calif. (AP) — Terrell Gomez scored 31 points and dropped in two free throws in the final seconds to seal Cal State Northridge’s 73-72 victory over Fresno State on Saturday afternoon.

Fresno State’s Orlando Robinson had just split a pair of free throws to put the Bulldogs out front 72-71 with 22 seconds remaining. Gomez answered by making both free throws offered for the win with four seconds left.

The victory was the Matadors’ first of the season after opening with seven straight losses.

Gomez drained 7 of 14 from beyond the arc. Darius Brown II and Lance Coleman II added 14 points apiece for CSU Northridge. The Matadors drained 12 of 28 from distance while limiting the Bulldogs to 11-of-35 shooting from beyond the arc.

CSU Northridge trailed 41-39 at the break but won the second half 34-31.

Nate Grimes led Fresno State (2-4) with 20 points and 11 rebounds.

The Matadors will play at Portland on Wednesday. Fresno State will welcome UNLV Wednesday.