This chapter lays out the historic and cultural background of cross-gender behavior in mid-19th century California, and in San Francisco in particular. The demographic effects of the Gold Rush, with its sudden and overwhelming immigration of miners (primarily male) is the most obvious, but this came hard on the heels of the forcible transfer of California from Mexico to the United States, with resulting upheavals in the balance of power between various racial, economic, and religious groups.