SANTA CLARA -- Tommy Armstrong Jr. threw a touchdown pass and ran for another score to help Nebraska cap a losing season by beating UCLA 37-29 in the Foster Farms Bowl on Saturday night.
The Cornhuskers (6-7) scored 30 straight points after falling behind 21-7 early to overpower the Bruins (8-5) and provide a happy ending to coach Mike Riley's first season.
Stanley Morgan Jr. gave Nebraska the lead for good with a one-handed, 22-yard catch in the third quarter and Imani Cross, Terrell Newby and Andy Janovich all ran for scores for the Cornhuskers.
Armstrong completed 12 of 19 passes for 174 yards and ran for 76 more to lead the way for Nebraska, which had a season high with 326 yards rushing.
Josh Rosen threw for 319 yards and two touchdowns for the Bruins. They ended what had once been a promising season with losses to Southern California and in the bowl game.
Nebraska only got the chance to play in a bowl because there were not enough six-win teams to fill all 80 slots and the Cornhuskers made the most of the opportunity by taking the game over in the third quarter.
After tying the game with two late touchdowns in the second quarter, Nebraska outgained UCLA 196 to 1 in the third quarter behind a dominant running game.
The Cornhuskers gained 151 yards on the ground alone in the third quarter with the run game setting up Morgan's touchdown catch that made it 27-21 and then leading the way on two more scoring drives that ended in a Drew Brown's field goal and Armstrong's 3-yard run in the opening minute of the fourth to make it 37-21.
UCLA responded with a 9-yard TD pass from Rosen to Jordan Payton and a 2-point conversion to get within eight. Ka'imi Fairbairn missed a 46-yard field goal after a botched shotgun snap by the Bruins and Rosen threw an interception in the end zone on fourth down from the 32 with 2:54 to play to end UCLA's chances at a comeback.
The Bruins broke out to a 21-7 lead when Rosen threw a 60-yard touchdown to Kenneth Walker III and a 26-yarder to Nate Starks. The Other UCLA touchdown came when Paul Perkins ran it in from the 1 a play after Rosen completed a 22-yard pass to Thomas Duarte on fourth-and-1.
Nebraska fought back with back-to-back TD drives to tie it 21 at the half.
Cornhuskers safety Nate Gerry was ejected late in the second quarter for targeting on a swing pass to Perkins. It was the second straight game that Gerry was ejected for targeting.