The Black Codes (1865–1866) were enacted by Southern state legislatures (Mississippi, South Carolina, Alabama, Louisiana, Florida, Georgia, Texas, etc.) after the Civil War. They were not federal laws—Congress did not sanction them.
Key architects: all-white legislatures, often dominated by former Confederates, aiming to restrict Black freedom and ensure cheap labor.
Federal response: Civil Rights Act of 1866, 14th Amendment (1868), Reconstruction Acts (1867) — nullified most codes. They resurfaced as Jim Crow laws post-1877.