Hamet Karamanli was reinstated on the Libyan throne after the first of these wars, and William Bainbridge and Stephen Decatur commanded the navy in the second of these conflicts.
One of these conflicts was triggered after the expulsion of Tobias Lear, while another one of these conflicts saw William Eaton lead a small army in a long trek which eventually won a decisive battle at Derna. The second of these conflicts saw the destruction of the frigate USS Philadelphia, though the losers lost the Mashouda and the Estedio. Hamet Karamanli was reinstated on the Libyan throne after the first of these wars, and William Bainbridge and Stephen Decatur commanded the navy in the second of these conflicts. For 10 points, identify these conflicts in which the American navy crushed some pirates in North Africa in the early 1800s.
One of these conflicts was triggered after the expulsion of Tobias Lear, while another one of these conflicts saw William Eaton lead a small army in a long trek which eventually won a decisive battle at Derna.
{Barbary} Wars [Accept First, {Second}, etc.]