San Francisco and Seattle have just banned city employees from traveling to North Carolina on public business after the state passed a law limiting transgender rights.

“We are standing united as San Franciscans to condemn North Carolina’s new discriminatory law that turns back the clock on protecting the rights of all Americans including lesbian, gay, bisexual and transgender individuals,” Mayor Ed Lee said in a statement Friday. “Effective immediately, I am directing City Departments under my authority to bar any publicly-funded City employee travel to the State of North Carolina that is not absolutely essential to public health and safety.”

North Carolina's law bars cities and counties from extending civil rights protections to gay and transgender people. It also bans transgender people from using public bathrooms according to their gender identity.