 By 1840 there were 11,323 slaves in Texas.In 1845 the state legislature passed legislation further restricting the rights of free blacks.For example, it subjected them to punishments, such as working on road gangs if convicted of crimes, similar to those of slaves rather than free men.