The piece of legislation passed in 2007, which legally empowers the NSA to wiretap any communications that begin or end in a foreign country, is the Protect America Act. The Act was signed by George W. Bush on August 5, 2007, and it was a measure that states that no warranty is required for any communication which was foreign-relate.