Lawyers and judges who played a role in New York’s path to legal rights for LGBTQ people shared stories of progress at an event hosted by the Historical Society of the New York Courts on Wednesday—but they expressed a cautionary outlook for the future of LGBTQ rights across the country, including restrictions on gender-affirming health care and Florida’s so-called “Don’t Say Gay” law.

While the leaked draft of the U.S. Supreme Court’s majority opinion in Dobbs v. Jackson Women’s Health Organization included an assertion by Associate Justice Samuel Alito that the ruling “concerns the constitutional right to abortion and no other right,” the attorneys warned that similar reasoning could be used to strike down LGBTQ rights.