The region now known as Arizona was acquired during the Mexican War and through the Gadsden Purchase from Mexico. Arizona has a largely dry desert climate with mild winters and hot summers. The principal products manufactured in the state include electronics, semiconductors, communication equipment, and aeronautical items. Agriculture and mining, originally the foundation of Arizona’s economy, still contribute abundant resources such as cattle, cotton, and copper. After legal disagreements with California reached the Supreme Court, Arizona was awarded an annual water allotment of 3.5 billion cubic meters for irrigation systems.