The 1901 assassination of President William McKinley created a perception that the United States was under threat from anarchists. The Departments of Justice and Labor had been keeping records on anarchists for years, but President Theodore Roosevelt wanted more power to monitor them.