The city was officially incorporated on July 23, 1850, by the county court, and the first city election was held on July 31, 1850. In 1851 the City of Stockton received its charter from the State of California. Early settlers included gold seekers from Asia, Africa, Australia, Europe, the Pacific Islands, Mexico and Canada. The historical population diversity is reflected in Stockton street names, architecture, numerous ethnic festivals and the faces and heritage of a majority of its citizens. In 1870 the Census Bureau reported Stockton's population as 87.6% white and 10.7% Asian. Many Chinese were immigrating to California as workers in these years, especially for the Transcontinental Railroad.