There shall not be permitted, after the promulgation of this law, either purchase or sale of slaves that may be introduced into the empire. The children of such slaves, who are born within the empire, shall be free at fourteen years of age.
Context: This was a compromise. Most Mexicans wanted immediate emancipation of all slaves. However, Stephen Austin and others desirous of attracting colonists thought that this would inhibit too many American Southerners from immigrating to Texas. Slave enthusiasts wanted no prohibition on slavery. The Mexican Emperor issued this compromise but was soon thereafter overthrown. The law was then repealed by the revolutionary government and emancipation was immediate. However, Austin was able to persuade the junta to keep the law in place for Texas only, and so it was. A similar law was being debated by Congress but the Southerners were able to block it. There were still slaves and slavery in Texas. Four years later there were more restrictions on slavery. See the linked quotes for additional context.
Mexico, Law passed governing slavery in Mexico, January 4, 1823
Sourced by: Eigen's Political and Historical Quotations