Today, the president of the United States and the Secret Service are inseparable—literally. Agents of the U.S. Secret Service accompany the president and the First Family everywhere and are particularly noticeable at public events. The agents also protect major presidential candidates. But it wasn’t always this way. It would take a third assassination of a U.S. president—William McKinley—to prompt Congress to assign full official protection of acting presidents.
The Secret Service was actually established in 1865 as a division of the United States Treasury that was primarily responsible for protecting the assets of the national treasury, safeguarding its currency production facilities and investigating counterfeiting. Beginning in 1894, Secret Service agents were protecting then-president Grover Cleveland, but only on a part-time basis.
Until then, and even in the years after, members of Congress were loath to formally establish a national law enforcement agency, preferring to leave functions related to law and order to individual states. However, it was when Cleveland’s successor, William McKinley, was assassinated in 1901 that momentum for such a federally run agency began to build.