Spanish flag
Seven years later, Juan Bautista de Anza led a Franciscan priest, 193 colonists and soldiers, and 1,000 head of livestock from Sonora, Mexico to the San Francisco Bay. Most of the settlers were Mestizaje rather than pure-blooded Spanish—the product of over 250 years of racial mixing following the 16th-century conquest of Mexico. They arrived on June 27, 1776, and established a presidio (military garrison) at the bay's entrance. The Franciscan Mission San Francisco de Assisi (now know as Mission Dolores) was constructed a few miles inland.
El Presidio de San Francisco and Mission San Francisco de Assisi constituted the northernmost bastion of a network of presidios, missions, and pueblos that extended south into Mexico. In its earliest years, the Spanish presidio was responsible for the control of native people, the development of civilian communities, and the protection of the frontier.
With an average population of two hundred to four hundred residents, Presidio de San Francisco usually had a smaller population than the three other California presidios. Moreover, women and children often outnumbered the men, who were frequently assigned sentry duty at nearby Hispanic communities. Though the dune scrub, harsh coastal winds, and thin soil made the land inhospitable to agriculture, the Spanish managed to appropriate coastal lands to grow imported food crops and graze cattle. However, grazing depleted the Presidio's native perennial bunchgrasses and caused soil erosion; moreover, the arrival of livestock also brought the seeds of invasive plant species, which were carried on the animals or were imported with livestock feed. Spanish settlers also cut the few trees near the Presidio for use as building materials and fuel.