The Tenure of Office Act restricted the president from suspending an officer while the Senate is not in session. In August 1867, President Johnson removed Secretary of War Stanton from office. When the Senate reconvened, it failed to ratify his removal. Johnson attempted to appoint a new Secretary of War. He hoped to create a case to challenge the act through the involvement of the Supreme Court.