What did President Andrew Johnson do to be impeached by the House?

He tried to fire Edwin Stanton, Lincoln's Secretary of War.
This was a violation of the Tenure of Office Act which says the President can not dismiss a member of the cabinet without getting consent from Congress.