In the South following the Civil War, the white governments sought to avoid losing economic and political power to the newly freed slaves. The Black Codes were laws enacted in 1865 and 1866 to reduce the rights of blacks.
Under the Codes, they were not allowed to vote, to hold office, or to serve on a jury. They were also not guaranteed any sort of public education. In effect, their rights under the Constitution and the Bill of Rights were being denied.
The Black Codes led to further exertion of power by the North, which demanded that states ratify the 13th and 14th Amendments before being allowed to regain their representation in Congress. Military rule was established and new Republican governments soon repealed the Black Codes.
Although they were ruled