As the result of the Texas Revolution and Texas annexation, the United States inherited border disputes of the Republic of Texas with Mexico, which was the factor to the eruption of the Mexican-American War (1846-48).
During the California Gold Rush, as many as 25,000 Mexicans arrived in California.