The war in Texas lasted from October 2, 1835 to April 21, 1836. A famous battle in the war was the Battle of the Alamo in which about 200 Texans were killed. After the war, Texas was declared an independent country and called itself the Republic of Texas.