Texas formally declares its independence from Mexico, leading to the Republic of Texas.