In 1863, San Francisco was actually the very first place to enact a ban, what it called a cross-dressing or masquerade ordinance, which prohibited someone from being out in public if they were wearing clothing that was different from their sort of legal sex or assigned sex.