American and French ships battled in the West Indies even though there was no formal declaration of war. The Pasha of Tripoli declared war on the United States in 1801, and in 1815 President James Madison asked Congress to declare war on Algeria. American merchant ships were in great danger at this time because there was no national navy to protect them abroad.
While typically thought of as a rebuilding time in United States history, it was a busy and tough time for American seamen.