In 1887 the Massachusetts legislature introduced .
In 1887 the Massachusetts legislature enacted a law that mandated the separation of bathrooms by sex .
In 1887 the Massachusetts legislature introduced and enacted a law that mandated the separation of bathrooms by sex .