The North Carolina legislature on Wednesday passed a sweeping bill overturning gay and transgender protections at the local level and requiring students to use public restrooms that correspond to their biological sex.

Gov. Pat McCrory, a former Charlotte mayor, signed the bill hours later, according to the Associated Press.

Biological Bathrooms