When Congress met again in December 1862, the House of Representatives passed a bill indemnifying the president for his suspension of habeas corpus. The Senate amended the bill, and the compromise reported out of the conference committee altered it to remove the indemnity and to suspend habeas corpus on Congress's own authority. That bill, the Habeas Corpus Suspension Act, was signed into law March 3, 1863. Lincoln exercised his powers under it in September, suspending habeas corpus throughout the Union in any case involving prisoners of war, spies, traitors, or military personnel. The suspension of habeas corpus remained in effect until Andrew Johnson revoked it on December 1, 1865.