FORT COLLINS, Colo. — Patrick O'Brien threw for two touchdowns and ran for another to lead Colorado State to its first victory of the season, 34-24 over Wyoming on Thursday night.

The victory was the first for Steve Addazio as the Rams' head coach after a combined nine seasons as a head coach at Boston College and Temple. The win also snapped a four-game losing streak to Wyoming.

O'Brien threw for 255 yards, tossing touchdown passes of 29 and 38 yards to Trey McBride. The first touchdown pass made it 14-0 and came on the first play following a strip-sack of Levi Williams by Dequan Jackson. The second TD to McBride gave CSU (1-1, 1-1 Mountain West) a 31-17 lead late in the third quarter.

Williams scored on a short run to get Wyoming within seven with 8:18 remaining but CSU used a 5 1/2-minute drive that ended with Robert Liss' 48-yard field goal.

Dante Wright led the Rams with 146 yards receiving on 10 catches. McBride added 90 yards.

Marshaun Cameron scored CSU's first touchdown with a 30-yard interception return.

Xazavian Valladay rushed for 147 yards on 28 carries with a TD — his 10th career 100-yard game — and became the 12th player in Wyoming (1-2, 1-2) history to rush for 2,000 career yards. Williams threw for 321 yards with an interception.

No fans were allowed at the game.