Two foreign trade bills passed during James Madison’s time in office: the Non-Intercourse Act of 1809 and Macon’s Bill No. 2. The Non-Intercourse Act was relatively unenforceable, allowing the US to trade with all nations except France and Great Britain. In 1810, this act was repealed with Macon’s Bill No. 2. It said that whichever nation stopped attacking American ships would be favored, and the US would stop trading with the other nation. France agreed but Britain continued to impress soldiers.