North Carolina Republican lawmakers said late on Wednesday they had reached a deal to repeal the state’s controversial law prohibiting transgender people from using restrooms in accordance with their gender identities. The compromise, reached with Democratic Governor Roy Cooper and set to go before the legislature for a vote Thursday morning, would still ban local municipalities, schools and others from regulating bathroom access.

It would also effectively forbid cities from offering their own job and restroom protections to vulnerable groups for nearly four years. “Compromise requires give and take from all sides, and we are pleased this proposal fully protects bathroom safety and privacy,” the state’s top Republican lawmakers, Senate leader Phil Berger and House of Representatives Speaker Tim Moore, said in a statement released late Wednesday. FULL STORY