SAN FRANCISCO (WNCN) – San Francisco mayor Edwin Lee has banned city employee travel to North Carolina after the state passed House Bill 2 this week.

The North Carolina General Assembly on Wednesday overrode a Charlotte ordinance set to take effect April 1 that impacts transgender people and Governor Pat McCrory signed the bill Wednesday night.

“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. “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.”

It was not immediately clear how many trips Lee’s decision might impact.

The Charlotte ordinance would have allowed transgender people to use the restroom of their gender identity.

The bill – passed during a special session – also included a section on wage and hour laws, where local governments could not impose conditions on how a business pays its employees.

The bill passed the House Wednesday afternoon and headed to the Senate for consideration. It passed the Senate 32-0 after Democrats walked out.

Just after 10 p.m. the governor’s office said that McCrory signed the bill Wednesday evening.  The new bill goes into effect on April 1, McCrory said.RELATED ARTICLESNC could face economic backlash after passing transgender billMcCrory signs bill overruling Charlotte transgender ordinance