New york constitution
Article III: legislature
Section 5

An apportionment by the legislature, or other body, shall be subject to review by the supreme court, at the suit of any citizen, under such reasonable regulations as the legislature may prescribe; and any court before which a cause may be pending involving an apportionment, shall give precedence thereto over all other causes and proceedings, and if said court be not in session it shall convene promptly for the disposition of the same. The court shall render its decision within sixty days after a petition is filed. In any judicial proceeding relating to redistricting of congressional or state legislative districts, any law establishing congressional or state legislative districts found to violate the provisions of this article shall be invalid in whole or in part. In the event that a court finds such a violation, the legislature shall have a full and reasonable opportunity to correct the law's legal infirmities.