What are Black Codes?

In order to fight the passing of amendments to the Constitution that made it illegal to discriminate against blacks, many state and local government passed black codes to institute their own legal methods of discrimination instead. Look here for more information: