SAN FRANCISCO (CBS SF) – Mayor Ed Lee of San Francisco has banned non-essential city-funded travel to North Carolina, after the state passed a law that would allow anti-LGBT discrimination.

Lee issued the travel ban Friday, two days after North Carolina Gov. Pat McCrory signed the bill into law.

“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,” Lee said in a statement.

“With other states like Georgia on the verge of passing more discriminatory laws, let me be clear that San Francisco taxpayers will not subsidize legally-sanctioned discrimination against lesbian, gay, bisexual and transgender people in any City or State,” the mayor went on to say.

Barring publicly-funded City employee travel to North Carolina due to new discriminatory law against LGBT community https://t.co/F1t2vAMHGv — Edwin Lee (@mayoredlee) March 25, 2016

The new law bans cities and counties in North Carolina from issuing their own antidiscrimination regulations on the basis of sexual orientation and gender identity and would require public school students to use bathrooms based on their biological sex.

Last year, Lee banned city-related travel to Indiana after the Hoosier State enacted a law that would have allowed business owners to discriminate on the basis of sexual orientation or gender identity. The ban was lifted after Indiana lawmakers made changes to the law.