a win in the Emerald Bowl in San Francisco over the Maryland Terrapins. In 2008, Riley's Beavers knocked off #1-ranked USC 27–21 at Reser Stadium. The Beavers went into the Civil War with a chance to reach the Rose Bowl as Pac-10 champions but were defeated by Oregon, 65–38, and instead accepted another invitation to the third place Sun Bowl, where they beat Pittsburgh in a defensive struggle, 3–0. Though winless in bowl games as a player, Riley has a 6–2 NCAA football bowl record as a head coach through the 2013 season, having won the 2003 Las Vegas Bowl, 2004 Insight Bowl, 2006 Sun Bowl, 2007 Emerald Bowl, and 2008 Sun Bowl. Riley is a combined 8–1 in bowl games as a head or assistant coach. In the 2009 Las Vegas Bowl, the Beavers lost to the BYU Cougars of the Mountain West Conference. In Riley's second stint at Oregon State, the Beavers produced four NFL quarterbacks, Sean Mannion, Sean Canfield, Matt Moore, and Derek Anderson. Following the 2009 season, Riley was rumored to be up for the USC vacancy created by the resignation of Pete Carroll. Those rumors were put to rest when Riley signed a three-year extension at OSU through the 2019 season. During the 2012 season, Riley snatched his 75th career win surpassing Lon Stiner as Oregon State's all-time winningest coach. Riley completed his second stint at Oregon State with an 85–66 () record in a dozen seasons. His 93 wins overall in 14 seasons at OSU are the most in school history. Nebraska On December 4, 2014, Riley was named head coach of the Nebraska Cornhuskers. In his first season as head coach at Nebraska, Riley's Cornhuskers completed a 5–7 regular season (their first losing season since 2007) with numerous last second losses; notable among these was the Huskers' first game under Riley, wherein they lost to BYU, 33–28, on a last-second Hail Mary pass from the Cougars' backup quarterback, Tanner Mangum, to wide receiver Mitch Mathews (a loss which snapped Nebraska's streak of 29 consecutive home opener wins). Despite their losing season, however, the Cornhuskers were still invited to a post-season bowl game due to a lack of enough eligible teams to fill all bowl slots and the team high academic progress rate (APR). The Cornhuskers defeated the UCLA Bruins in the 2015 Foster Farms Bowl, finishing the season 6–7. 2016 saw improvement as