However , this treaty was violated in 1801 by the Basha of Tripoli , which led to the Tripolitanian War .
In 1797 , the United States signed a peace treaty with the Barbary state of Tripoli .
This treaty was violated in 1801 by the Basha of Tripoli , which led to the Tripolitanian War .
In 1797 , the United States signed a peace treaty with the Barbary state of Tripoli .