Black Codes were the laws passed by the southern government which imposed severe restrictions on freed slaves. They were not permitted to vote.They were also not allowed to carry weapons in public places.They were forced to work in certain occupations.