There’s a common belief in the general public, that because Northern states legally ended slavery decades before the Civil War, their communities recognized the human rights of blacks. This is a wrong. As the number of free blacks in the North increased, laws were put in place designed to exclude them from white society, or Black Codes.