After weeks of controversy and speculation, Cam Johnson officially signed his UNC scholarship agreement on Friday–a move which allows the graduate transfer to attend the school and play basketball next season for head coach Roy Williams and the Tar Heels.

A 6-foot-7 guard, Johnson previously played two seasons at the University of Pittsburgh after taking a medical redshirt due to a shoulder injury in his first season of collegiate eligibility.

Last season at Pitt, Johnson averaged 11.9 points, 4.5 rebounds and 2.3 assists per game. He also tied his career-high with 24 points in an 80-78 loss to UNC at the Dean Dome on Jan. 31.

Since he has already graduated school, he won’t have to wait long before suiting up for the Tar Heels.

The NCAA requires undergraduate transfers to wait one full season before they can play at their new school, but that rule doesn’t apply to graduates.

This comes after a lengthy battle with Pitt, which tried to restrict Johnson from transferring within the ACC unless he sat out a year before playing.

“We are excited to have Cameron and his family join our program,” UNC head coach Roy Williams said in a statement released by the university. “He has proven he can do the job both on the court and in the classroom. He is accomplished in both areas.

“The young man went through a demanding process to get to North Carolina,” the coach added. “We are happy to have someone join our program who wanted to be with us so badly.”