University of Louisville football player Kemari Averett has been kicked out of his university-affiliated, off-campus apartment building and prohibited from being on school grounds, according to his attorney, Aubrey Williams.

Williams made that statement after Averett appeared in Jefferson County District Court on Thursday for a preliminary hearing on charges related to his Oct. 15 arrest. Averett allegedly held a gun to a woman's head and threatened to kill her, according to police.

A jury trial in the gun-related case is scheduled for Feb. 27, 2019.

A university spokesman confirmed Averett is still enrolled at the school but would not comment on whether he has been barred from campus. The county prosecutor said in Thursday's hearing that Averett has been deemed a Persona Non Grata by the University of Louisville, explained on the university's website as "a person who is not welcome at the University of Louisville."

The latest:Vince Tyra, Bobby Petrino say they were unaware of Averett allegation

Opinion:Petrino, Tyra not wrong to stay at arm's length in Kemari Averett case

When he was arrested, Averett was charged with first-degree wanton endangerment and fourth-degree assault.

The wanton endangerment charge, a felony, has been amended to a second-degree charge, which is a Class A misdemeanor, according to Josh Abner, spokesman for the county attorney's office. If convicted of a Class A misdemeanor, Averett could face between 90 and 365 days in jail and up to a $500 fine.

Averett was released Thursday on a personal recognizance bond, reduced from the home incarceration program that he was on previously. Williams said Thursday that Averett has been ordered to have no contact with the woman who accused him and two other witnesses.

Averett appeared in court Thursday with a group that included roughly 10 people, including his two lawyers: Williams and Shaun Wimberly. He was seated on the left side of the courtroom, opposite the benches that included his accuser.

As Averett's group awaited his hearing, an unidentified person yelled from outside the courtroom that Averett “is innocent" and shouted "U of L!" Judge Sandra McLaughlin responded, “This is going to be an interesting day.”

Read more:Kemari Averett's redemption story unfinished after a shocking arrest

Column:Don't let Kemari Averett's example prevent more second chances at U of L

When it came time for his appearance, Averett was asked if he had any contact with three witnesses involved in the case. Both his lawyers and the county prosecutors said no.

Upon the judge's decision to release Averett on his own recognizance, some of the people who accompanied Averett began clapping from the gallery. McLaughlin had an officer escort those people out of the courtroom.

“There are no winners in this case," the judge said.

Thursday's hearing was not related to rape allegations that were made against Averett earlier this month, prior to his Oct. 15 arrest on the gun-related charges. The Courier Journal first reported on the rape accusation late Wednesday.