On July 19, 1867, the US Congress passed the third Reconstruction Act over President Andrew Johnson's veto. From the article:
"Beginning in March of 1866, the period of Reconstruction sought to force change on the rebel states by creating a series of laws designed to control their behaviors. Only in retrospect can it be said that Reconstruction began in 1866, as it was not until March of 1867 that Congress passed the first of the so-called Reconstruction Acts that would truly force change in the South. President Andrew Johnson attempted to veto all three acts, but each time Congress passed the act despite these objections.
On July 19, 1867, the third of the Reconstruction Acts gave supreme power to the five Union generals overseeing Reconstruction in the five districts of the South. Each district included several former states of the Confederacy, with the exception of Tennessee, which was never under military rule. These generals held the power to remove any official, elected or otherwise, from office if they believed the official to impede rather than expedite the process of Reconstruction. Understandably, the North felt that the South would try to avoid the obligations stated under the previous Reconstruction Acts, which included holding a constitutional convention to re-write each state's constitution as well as the ratification of the Fourteenth Amendment. Despite the implicit fact that this law was intended to improve the situation in the South for blacks trying to resettle after emancipation, it was widely resented by Southerners who felt that the North was, yet again, attempting to impose their will on the former Confederacy.
When Congress pushed the Reconstruction Acts through, despite President Johnson's veto, they were likely unaware of the repercussions that would result from these acts. In the South, white citizens would go to extremes including the formation of the Klu Klux Klan and, sometime later, the writing of “Jim Crow' laws in order to keep blacks from gaining power. Meanwhile, Johnson was impeached by the House of Representatives for attempting to remove members of his cabinet who had supported Reconstruction, even as he vetoed it. Johnson had violated the Tenure of Office Act, according to the House of Representatives, which had been enacted in March of 1867."