Among the many battles waged in New York's courts in the LGBTQ community's long march for equal treatment under the law was Hernandez v. Robles, in which the state Court of Appeals ruled in 2006 to uphold a prohibition on gay marriage.