In the 19th century, a vast portion of the Southwest United States was under Mexican rule. This included California, which was a province called Alta California.
In 1835, a revolt started in Texas, also a Mexican province. Americans such as Stephen F. Austin and Sam Houston led the rebellion and created an independent nation known as the Republic of Texas.