The first tariff law passed by the U.S. Congress, acting under the recently ratified Constitution, was the Tariff of 1789. Its purpose was to generate revenue for the federal government, and also to act as a protective barrier around domestic industries.