After president Lincoln's assassination, president Andrew Johnson was elected to office. Because he vetoed both the Freedmen's Bureau and the Civil Rights Act of 1866, Johnson acquired a reputation as a white supremacist, often preaching of preventing a "mixed race". Several bills later, congress became frustrated with not only Johnson's inability to cooperate on any of the reconstruction or freedmen's bills, but also with his seemingly dictatorial leadership, earning him the nickname "King Andy". As congress overturned veto after veto, and the radicals started coming up with new reconstruction plans, several members of congress became fearful that they would be fired from their positions since they did not comply with Johnson's views. Therefore, congress tried to pass the "Tenure of Office Act", which said that the president could not fire anyone without the senate's approval. Johnson, unsurprisingly, vetoed, saying that this was unconstitutional, as it violated the separation of powers. When Johnson proceeded to attempt firing his secretary of war, Edwin Stanton, without the senate's consent, the congress saw this as an opportunity to impeach the president for "high crimes" in violating the Tenure of Office Act. Johnson came out victorious in court, as the Tenure of Office Act was indeed unconstitutional, although, he only had 9 months left in his term, and he had already lost all of his chances in being re-elected for a second term. That being said, this was not a victory for Johnson, but a victory for maintaining power of the presidency.