I believe the answer is passing of Black Codes that restricted the rights of African Americans
Black codes were a list of regulations that enacted in southern states between the period of 1865 and 1866.
The purpose of the codes was to restrict African american's basic right and forced them to work horrendous hours of labors with basically no salary.