qnli question: Was Texas a part of Mexico? sentence: In 1836, the now largely "American" Texans, fought a war of independence from the central government of Mexico and established the Republic of Texas.