Within six months of the attacks, Congress passed the Patriot Act, granting the federal government sweeping powers to fight terrorism, such as using wiretaps, collecting personal information, including health and medical records, as well as collecting records from libraries and universities.