A southern Indiana judge facing seven criminal charges after being shot outside a Downtown Indianapolis White Castle appeared in Marion County court Wednesday morning for an initial hearing.

Clark County Circuit Judge Andrew Adams, 47, faces two counts of level 6 felony battery in connection to the May 1 shooting. He also faces four misdemeanor battery charges and one count of misdemeanor disorderly conduct.

During his Wednesday court appearance, a plea of not guilty was entered and a pretrial conference was scheduled for Aug. 7, according to online court records. Adams was released from custody, and a no trespassing order for the White Castle was granted.

Adams was indicted last week alongside two other men by separate Marion County grand juries.

Alfredo Vazquez, 24, faces six counts of low-level felony and misdemeanor charges, including two counts of level 6 felony battery.

Brandon Kaiser, 41, faces 14 counts, including eight felony charges — four of which are level 3 felony aggravated assault.

Brad Jacobs, the other Clark County judge who was shot during the incident, was not charged.

The shooting stemmed from a fight that began around 3:20 a.m. May 1 outside White Castle, 55 W. South St. Investigators say Adams and Jacobs were in town for a judicial conference.

After hopping around several Downtown restaurants and bars late April 30 and into the morning hours of May 1, the judges tried to enter the Red Garter Gentleman's Club, police said. They went to the nearby White Castle after learning the gentleman's club was closed.

Adams, Jacobs and a third judge, Crawford County Judge Sabrina Bell, were standing near the building when an SUV parked nearby and two men left the vehicle. The four men engaged in a "physical fight," investigators said. The motive for the fight remains unclear.

What to know about the shooting:Here's what we know

During the struggle, one man raised to his knees, pulled a gun from his waistband and shot Adams in the stomach. Nearby, Jacobs and another man were wrestling.

The other man held onto Jacobs, police said, when the shooter walked up to Jacobs and shot him in the chest. After Jacobs fell to the ground, one man held him down while the shooter held the gun against Jacobs' chest and shot again.

Then the two men drove away, leaving the judges behind.

IMPD identified the suspected shooter as Kaiser and the other man as Vazquez. IMPD identified and arrested both men just days after the shooting with the help of a Kilroy's receipt.

Adams has hired defense attorney Jennifer Lukemeyer to represent him. She did not respond to an IndyStar email Friday.

IndyStar reporters Ryan Martin and London Gibson contributed to this story.

Call IndyStar reporter Justin L. Mack at 317-444-6138. Follow him on Twitter: @justinlmack.