In May 1801, Pasha Yusuf Karamanli demanded from the United States an increase in the tribute ($83,000) which it had paid since 1796 for the protection of their commerce from piracy when the Treaty of Tripoli was signed. The demand was refused by third American President Thomas Jefferson, an American naval force was sent and blockaded Tripoli, and the desultory First Barbary War dragged on from 1801 until 3 June 1805. The Regency of Tripoli was defeated by the newly revived United States Navy.