Until March 2003, the United States Customs Service was the portion of the U.S. federal government dedicated to keeping illegal products outside of U.S. borders. It also regulated what could leave the United States and was partially responsible for who could enter the United States.
Responding to the urgent need for revenue following the American Revolutionary War, the First United States Congress passed and President George Washington signed the Tariff Act of July 4, 1789, which authorized the collection of duties on imported goods. Four weeks later, on July 31, the fifth act of Congress established the United States Customs Service and its ports of entry.