Answer
The impeachment of President Andrew Johnson stemmed from his violation of the Tenure of Office Act, which restricted the president's ability to dismiss certain government officials without congressional approval. Secretary of War Edwin Stanton's dismissal, in particular, triggered the impeachment proceedings, as it was seen as a direct challenge to Congress's authority.