He fired the secretary of war which broke the tenure of office act so the representatives wanted to change him. This was considered to be illegal because a president could fire anyone as he saw fit and it could be corruption instead of earning by merit.