Mikey Williams, one of the nation’s top basketball prospects who has millions following him on social media, pleaded not guilty Thursday in San Diego to felony gun charges related to a shooting at his home, per ESPN.

Williams, 18, was arrested last week on five charges of assault with a deadly weapon and one count of firing into an occupied vehicle.

Police say Williams fired a gun at people in a vehicle who had left his home. They added that Williams had one gun in his possession at the time of arrest.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Mikey Williams shoots the basketball

Mikey Williams of San Ysidro (1) shoots the ball during the Hoophall Classic high school basketball game between Christopher Columbus and San Ysidro on January 14, 2023, at Blake Arena in Springfield, Massachusetts. (John Jones/Icon Sportswire via Getty Images)

He was released on $50,000 bond last Friday, the San Diego Sheriff’s Department confirmed.

"Five people got into a car and as they were driving away, shots were fired," according to the San Diego County Sheriff's Department incident report, per ESPN. "The car was hit, but no one was hurt."

HIGH SCHOOL BASKETBALL STAR MIKEY WILLIAMS FACES GUN CHARGE, DEPUTIES SAY

Williams’ attorney, Troy P. Owens, requested that his client appear via videoconference on Thursday as there were threats "that are public and online." However, Williams must be present for the preliminary hearing that is scheduled for June 29.

Williams committed to play college basketball at the University of Memphis under head coach and former NBA All-Star Penny Hardaway.

Mikey Williams dribbles

Mikey Williams of San Ysidro (1) drives to the basket during the Hoophall Classic high school basketball game between Christopher Columbus and San Ysidro on January 14, 2023, at Blake Arena in Springfield, Massachusetts. (John Jones/Icon Sportswire via Getty Images)

Hardaway was asked about Williams’ situation, to which he said he didn’t "have enough information," per The Commercial Appeal. The school later released a statement that said it would gather more information as well.

Williams is the 34th-ranked recruit in ESPN's Class of 2023. He gained massive popularity on social media, with millions following him on Instagram and TikTok. But Williams deleted all his accounts following the arrest.

Williams’ Instagram account had just under 4 million followers prior to deletion.

Mikey Williams looks on during a game

Mikey Williams looks on during the Pangos All-American Camp on June 7, 2022, at Bishop Gorman High School in Las Vegas. (Brian Rothmuller/Icon Sportswire via Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

That popularity earned Williams a NIL (name, image and likeness) deal prior to stepping on a college court. Puma signed him to a multiyear deal in 2021, making Williams the first American high school basketball player to ink a sneaker deal.

The Associated Press contributed to this report.