Exhilarated by the Supreme Court’s endorsement of same-sex marriage, gay rights leaders have turned their sights to what they see as the next big battle: obtaining federal, state and local legal protections in employment, housing, commerce and other arenas, just like those barring discrimination based on race, religion, sex and national origin.

The proposals pit advocates against many of the same religious conservatives who opposed legalizing same-sex marriage, and who now see the protection of what they call religious liberty as their most urgent task. These opponents argue that antidiscrimination laws will inevitably be used to force religious people and institutions to violate their beliefs, whether by providing services for same-sex weddings or by employing gay men and lesbians in church-related jobs.

Nationally, antidiscrimination laws for gay people are a patchwork with major geographic inequities, said Brad Sears, executive director of the Williams Institute at the School of Law of the University of California, Los Angeles. “Those who don’t live on the two coasts or in the Northeast have been left behind in terms of legal protection,” he said.

At least 22 states bar discrimination based on sexual orientation, and most of them also offer protections to transgender people.