The Tenure of Office Act was a United States federal law (in force from 1867 to 1887) that was intended to restrict the power of the President of the United States to remove certain office-holders without the approval of the Senate. The law was enacted on March 3, 1867, over the veto of President Andrew Johnson. It purported to deny the president the power to remove any executive officer who had been appointed by the president with the advice and consent of the Senate, unless the Senate approved the removal during the next full session of Congress. The act was significantly amended on April 5, 1869. Congress repealed the act in its entirety in 1887.

Based on this passage, when was the tenure of office act passed? Let's give stream of consciousness first:
To answer this question, we should know that: The law was enacted on March 3, 1867, over the veto of President Andrew Johnson.
So, the final answer is March 3 , 1867.