The country's Patriot Act allowed law enforcement agencies to search telephone, email communications, medical, financial and other records, and broadened the discretion of law enforcement and immigration authorities in detaining and deporting foreign persons suspected of terrorism-related acts.