Free blacks throughout the South were banned from possessing firearms, or preaching the Bible. Later laws even prohibited Negroes who went out of state to get an education from returning. In many states, the slave codes that were designed to keep African-Americans in bondage were also applied to free persons of color.