Lungren was reappointed to the Judiciary Committee based on his previous five terms of seniority; he also served on the Homeland Security Committee. In 2005, Lungren supported the USA PATRIOT Act, which renewed the federal government's ability to perform secret surveillance including wiretaps of citizens and monitoring of public and private computer packet-switched networks to prevent terrorism from hitting the United States. In 2006, Lungren and fellow U.S. Representative Jane Harman authored the SAFE Port Act, which improves security at the ports including additional requirements for maritime facilities, foreign port assessments, container security initiatives and Customs Trade Partnership against Terrorism. The bill passed the House with bipartisan support. Also in 2006, he sponsored the "Streamlined Procedures Act" which "would strip federal courts of the power to review "habeas corpus" petitions in state death penalty cases." In 2007, Lungren was appointed to the House Administration Committee.