Los Angeles is the largest city in the state of California and the Western United States as well as second largest in the United States. Often abbreviated as L.A. and nicknamed The City of Angels, Los Angeles is rated an alpha world city, has an estimated population of 3.8 million and spans over 498.3 square miles (1,290.6 km2) in Southern California. Additionally, the Los Angeles metropolitan area is home to nearly 12.9 million residents, who hail from all over the globe and speak 224 different languages. Los Angeles is the seat of Los Angeles County, the most populated and one of the most diverse counties in the United States.
Los Angeles was founded September 4, 1781, by Spanish governor Felipe de Neve as El Pueblo de Nuestra Senora la Reina de los Angeles de la Porciuncula (The Village of Our Lady, the Queen of the Angels of Porziuncola). It became a part of Mexico in 1821, following its independence from Spain. In 1848, at the end of the Mexican-American War, Los Angeles and California were purchased as part of the Treaty of Guadalupe Hidalgo, thereby becoming part of the United States; Mexico retained the territory of Baja California. Los Angeles was incorporated as a municipality on April 4, 1850, five months before California achieved statehood.