CORVALLIS, Ore. -- Riley Nelson threw for 217 yards and three touchdowns and rushed for 87 yards to lead BYU over Oregon State 38-28 on Saturday.
Cody Hoffman had nine receptions for 162 yards and a TD for the Cougars (5-2).
Sean Mannion was 27 of 43 passing for 306 yards for Oregon State (1-5) but was intercepted twice, bringing his season total to nine.
BYU has won four straight. It is 3-0 since Nelson replaced Jake Heaps in the middle of a 27-24 win over Utah State on Sept. 30.
Michael Alisa rushed for 84 yards as the Cougars compiled 282 as a team. They averaged 116 yards on the ground in their first six games.
BYU was 6 for 6 in the red zone and maintained control of the game despite three turnovers.
The Cougars took a 14-0 lead on touchdown runs by Alisa and JJ Di Luigi. Oregon State tied the game after a 1-yard touchdown run by Mannion and Jordan Poyer's 51-yard interception return for a score.
Meanwhile, linebacker Brandon Ogletree wreaked havoc on the Oregon State offense, intercepting a pass and forcing two fumbles on three straight possessions.
Oregon State hoped to the return of tailback Malcolm Agnew would boost its struggling running game, but the team managed just 59 yards on the ground.
It was a victorious homecoming for Cougars head coach Bronco Mendenhall, who played for the Beavers in 1986-87 and served as defensive coordinator under then-Oregon State coach Jerry Pettibone in 1995-96.
Oregon State defensive tackle Castro Masaniai fractured his fibula in the first half.
Nike Men's Oregon State Beavers Black/Orange Team Issue Performance PoloShop
Matt Campbell becomes the youngest coach in the Big 12, named Iowa State's head coach on his 35th birthday.
A series of missteps both on and off the field led to the deserved firings of Rutgers coach Kyle Flood and athletic director Julie Hermann.
With just one final week left in the season, the playoff field is getting smaller and smaller. Cary Chow breaks down who's still in, and who got eliminated this week.
Despite being offered a pay raise by Toledo, Matt Campbell has agreed to become Iowa State's next coach.
Presidential candidate Marco Rubio, a Gators fan, was asked for his thoughts following the Seminoles' 27-2 rout of Florida this weeknd.
After big rivalry wins, both Oklahoma and Stanford make big moves in the latest AP Poll. Heather Dinich reacts to that and other moves in the week 14 AP Poll.