New York Laws
Article 180 - Proceedings Upon Felony Complaint From Arraignment Thereon Through Disposition Thereof
180.80 - Proceedings Upon Felony Complaint; Release of Defendant From Custody Upon Failure of Timely Disposition.

(a) The district attorney files with the court a written certification
that an indictment has been voted; or
(b) An indictment or a direction to file a prosecutor's information
charging an offense based upon conduct alleged in the felony complaint
was filed by a grand jury; or
3. The court is satisfied that the people have shown good cause why
such order of release should not be issued. Such good cause must consist
of some compelling fact or circumstance which precluded disposition of
the felony complaint within the prescribed period or rendered such
action against the interest of justice.