They also instituted black codes to ensure that the freedmen couldn’t enjoy the same freedoms as their white counterparts, and give their former slavers the same leverages they had previously. The post war institutions were just slavery with a better veneer.