The emergence of the Republic of Texas is best understood as an effort among Anglo-Texans to establish a haven for American cotton farmers in a world increasingly hostile to slave labor, foreshadowing similar efforts by the Confederates several decades later.