The case went through the federal court system. The law was affirmed at the US Court of Appeals (the appellate court in federal system; the District Courts being the trial courts).
Nothing to do with the recent legislation, which will likely take a long time to work its way up to SCOTUS.
In NY, the state Supreme Court is the lowest court - the trial court level. Appeals are to the the Appellate Divisions and final appeals to the NYS Court of Appeals. Using “Supreme Court” as the trial level court in NY has confused everyone outside NY for years.
Thanks for the clarification.
And Gondring, too. For the additional material.