North Carolina reins in local governments, transgender rule
McCrory, who was the mayor of Charlotte for 14 years and had criticized the local ordinance, signed the legislation Wednesday night that he said was "passed by a bipartisan majority to stop this breach of basic privacy and etiquette."
Senate leader Phil Berger of Eden said the Democrats' decision to leave was a "serious breach of their obligation to the citizens that voted to elect them."
Gay rights leaders and transgender people said the legislation demonizes the community and espouses bogus claims about increasing the risk of sexual assaults.
"McCrory's reckless decision to sign this appalling legislation into law is a direct attack on the rights, well-being and dignity of hundreds of thousands of LGBT North Carolinians and visitors to the state," Human Rights Campaign President Chad Griffin said in a statement.
Civil liberties groups pledged to push for repeal and were weighing legal options.
The law bars local governments statewide from prohibiting discrimination in public places based on sexual orientation and gender identity.
Donna Eaton of Cary said everybody deserves to be treated with dignity and respect but is worried that without Wednesday's legislation "it's going to open the door for people with malicious intent who would masquerade as transgenders to come in and actually take advantage and have access to our kids."