Los Angeles - Wikipedia In 1848, at the end of the Mexican–American War, Los Angeles and the rest of California were purchased as part of the Treaty of Guadalupe Hidalgo and became part of the United States Los Angeles was incorporated as a municipality on April 4, 1850, five months before California achieved statehood