A legal advocacy group for LGBT people has called one of the Donald Trump’s prospective Supreme Court nominees “the most demonstrably anti-gay judicial nominee in recent memory.”

In 2005, Lambda Legal announced its opposition to the appointment of William H. Pryor Jr. to the U.S. Court of Appeals for the Eleventh Circuit, saying he had “repeatedly shown clear hostility to the rights of lesbians, gay men, bisexuals, transgender people and those with HIV – and also to women, people of color, disabled people and others.”

In a 2003 legal brief arguing to uphold a Texas law criminalizing consensual LGBT sex, Pryor compared it to “polygamy, incest, pedophilia, prostitution, and adultery” and argued that states should be free to prosecute gay people as criminals. He said the rights of LGBT people as a group are not protected by the Constitution.