Following the United States' victory in 1848, California was annexed by the U.S. and became a state in 1850. The gold rush of 1849 had caused rapid settlement of the area, which was recognized as commercially and strategically valuable to the United States. Military officials soon recommended a series of fortifications to secure San Francisco Bay. Coastal defenses were built at Alcatraz Island, Fort Mason, and Fort Point.