 As McCallum's Principal Deputy, Gorsuch assisted in managing the Department of Justice's civil litigation components, which included antitrust, civil, civil rights, environment, and tax divisions.While managing the United States Department of Justice Civil Division, Gorsuch was tasked with all the "terror litigation" arising from the President's War on Terror, successfully defending the extraordinary rendition of Khalid El-Masri, fighting the disclosure of Abu Ghraib torture and prisoner abuse photographs, and, in November 2005, traveling to inspect the Guantanamo Bay detention camp.Gorsuch helped Attorney General Alberto Gonzales prepare for hearings after the public revelation of NSA warrantless surveillance (2001–07), and worked with Senator Lindsey Graham in drafting the provisions in the Detainee Treatment Act which attempted to strip federal courts of jurisdiction over the detainees.