From its earliest days, San Francisco was known as a wide-open town: an urban space with few social restrictions and a high tolerance for illegal behavior, including same-sex sexual activity and deviation from gender norms. The roots of this reputation can be found in the mostly all-male culture of the gold rush. Saloons, dance halls, rowdy theaters, and brothels were plentiful and, except for a small number of female workers, were patronized only by men.

