A man accused of wielding a rifle at a "No Kings" protest in Salt Lake City before an armed safety volunteer opened fire and accidentally killed a protester has been released from jail, court records show.

Utah Third District Judge James Blanch signed an order to release Arturo Gamboa on June 20 after state prosecutors were "unable to make an informed decision" on charges against him before his scheduled release date on June 23, according to court records obtained by USA TODAY. Gamboa, 24, had been arrested on suspicion of murder following a "No Kings" demonstration and march in downtown Salt Lake City on June 14.

As prosecutors review evidence as it becomes available, the order states that Gamboa was released under stipulated conditions agreed upon through his attorney. Under those conditions, Gamboa must maintain residence with his father, not possess any firearms, and hand over his passport to his attorney.

His release came after Salt Lake County District Attorney Sim Gill requested and received a three-day extension to keep Gamboa in custody, The Salt Lake Tribune and KSL.com reported. The extension would have detained Gamboa until June 23, but Gill later said his office was unable to decide Gamboa's culpability in the shooting, according to The Salt Lake Tribune.