STATE COLLEGE, Pa. -- There weren't too many positives for Penn State after its 28-16 loss to Michigan on Saturday, but the program did make gains in recruiting.

Dylan Rivers, a four-star linebacker from Stephens City, Va., gave an oral commitment to Penn State and became the second member of the 2017 class. The first was Ohio quarterback Sean Clifford, who made his decision over the summer.

Rivers tweeted his commitment on Saturday while he was on an unofficial visit to Penn State, according to 247Sports.

The 6-foot-2, 210-pound outside linebacker from Sherando High School  is ranked first at the position in Virginia and 14th in the nation, according to Scout.com.

"Coach [James] Franklin is a very good recruiter and he cares a lot about his players," Rivers told Scout. "He's energetic and fun to be around. In my opinion, he's one of the best coaches in college football."

He chose Penn State over Clemson, Duke, Arizona, North Carolina, Virginia, and Virginia Tech.