Texas was part of the Republic of Mexico from 1821 until 1836. During this period, Texans followed Mexican laws and traditions.