Colorado State's Michael Myers came off the bench to score the go-ahead touchdown on an 18-yard carry on Friday as the Rams beat Wyoming 36-28.
Myers, subbing for the injured Gartrell Johnson, carried for 40 yards on the drive and gave Colorado State a victory in the annual Border War.
Myers finished with 44 yards. Johnson ran for 103 yards and two touchdowns and had one touchdown reception before leaving late in the third quarter with an ankle injury.
Colorado State's Caleb Hanie completed 16 of 22 passes for 245 yards and two touchdowns.
The Cowboys (5-7, 2-6) ended the season with a four-game losing streak.
Wyoming's Karsten Sween completed 20 of 33 passes for 204 yards, and Devin Moore ran for 76 yards and a touchdown. Wynel Seldon added 21 yards and two touchdowns on the ground.
The Rams drove to the Wyoming 9 on their first possession but had to settle for a 29-yard field goal by Jason Smith with 11:43 left.
The Cowboys used a gimmick play to set up their first score. Greg Bolling took a lateral from Sween and then passed to a wide-open Hoost Marsh, who took the ball to the Wyoming 9. Two plays later, Moore ran it into the end zone from the 1 and the Cowboys had a 7-3 lead.
After Hanie threw a 31-yard touchdown pass to Johnson on the first play of the second quarter, the Cowboys answered with an 11-play, 80-yard scoring drive and retook the lead 14-10.
The Rams took over at midfield when Billy Vinnedge's punt rolled dead at the Wyoming 49. Six plays later, Luke Roberts reached over Wyoming free safety Quincy Rogers to grab Hanie's 29-yard toss in the end zone. With the PAT, Colorado State led 17-14.
The Rams led 27-14 after Smith kicked a field goal and Johnson rushed for a touchdown. But Wyoming reclaimed the lead when Moore ran a kickoff off back 98 yards for a touchdown and Sheldon scored another TD on a 2-yard run.
Myers gave Colorado State the lead back for good with his 18-yard score. A 2-point conversion attempt failed and the Rams led 33-28.
Wyoming was driving when Sween coughed up the ball on a John Clark hit with 5:01 left. Jesse Nading recovered for the Rams at midfield.
Smith sealed the game with a 39-yard field goal with 2:14 left.