*Party division totals are based on election day results.
The 1866 elections all but ended presidential Reconstruction. The Republicans won overwhelming majorities in both the House and Senate, putting them in a position to easily override any veto by President Andrew Johnson. The 40th Congress (1867–1869) passed three major Reconstruction Acts that put the former rebel states under military rule. When President Johnson dismissed Secretary of War Edwin Stanton, in apparent violation of the Tenure of Office Act, the House brought 11 articles of impeachment against him. In the closing months of the Congress, the Senate deliberated and acquitted Johnson by a single vote.