First Barbary War
Tobias Lear also served third president Thomas Jefferson, as envoy to Saint-Domingue (modern-day Haiti), and as peace envoy in the Mediterranean Sea and North Africa during the First Barbary War (1801–1805) and the Second Barbary War (1815). He was responsible for negotiating a peace treaty with the Bey of Tripoli that ended the first Barbary War.