Before Texas was a Republic it was a Mexican Territory, with a population of just 4000 Tejanos. By 1824 The Mexican Government desperate to populate the region invited Americans to settle the region, under the requirement and assumption that the settlers would: a) learn the Spanish Language, b) convert to Roman Catholicism, and c) be loyal to the Mexican Government. By 1832 the number of American settlers topped 30,000, very few of the settlers obeyed any of the three compromises, and most had also brought slavery into Texas, which was against Mexican Law. When the government began to enforce the ban on slavery, desire for secession reached its peak, eventually leading to the Texas Revolution, and de facto Texan Independence.