Braxton Beverly never imagined going to class could get him in trouble with the NCAA.

But after starting classes at Ohio State in May and transferring to N.C. State in July, the freshman guard will have to sit out the upcoming college basketball season.

The NCAA ruled Beverly ineligible for the season on Friday. N.C. State plans to appeal the decision.

“I’m devastated by this decision, it’s incredibly unfair,” Beverly said in a statement released by the school. “I appreciate N.C. State and the work being done here to appeal this decision. My hope is that it gets resolved and I can be eligible to play this season.”

First-year N.C. State coach Kevin Keatts was disappointed in the NCAA’s decision.

“We’ll appeal this and hopefully it yields a different result,” Keatts said in a statement released by N.C. State.

Beverly, a 6-foot shooting guard from Hazard, Ky., will still have four years of eligibility with the Wolfpack.

Beverly and N.C. State had hoped he would be able to play right away after the unusual circumstances led to his departure from Ohio State. Buckeyes coach Thad Matta resigned on June 5.