Mississippi joins in a race to the bottom for the most extreme anti-LGBTQ legislation in the country, as on Thursday the state legislature is expected to send an unprecedented “religious freedom” bill to the governor’s desk for signing.

The bill was approved by the state Senate late on Wednesday, only a week after North Carolina passed its own sweeping discrimination law in a highly unusual process that critics decried as a “bait-and-switch.”

And just days ago, Georgia’s Gov. Nathan Deal vetoed a similar bill—”so broad that it would even protect the Ku Klux Klan,” as Terrance Heath, the online producer for Campaign for America’s Future, wrote—which was passed by both the state Senate and House.

But Mississippi’s bill is “probably the worst religious freedom bill to date,” said Ben Needham, director of LGBTQ advocacy group Project One America, to BuzzFeed News.

Mississippi’s House Bill 1523, titled the “Religious Liberty Accommodations Act,” permits nearly any kind of discrimination imaginable, so long as the perpetrator cites religious belief as an excuse.

Under the law, a LGBTQ couple could be refused a wedding cake from a local baker; a couple living together but not married could be legally barred from fostering a child or renting a car; a volunteer at a suicide hotline could refuse to speak to a transgender person. The measure even explicitly allows employers to set gender-specific dress codes—meaning women could be fired for wearing pants, as ThinkProgress points out.

The Washington Post summarized the stunning lengths to which the law goes in permitting discrimination: