The Mediterranean Squadron, also known as the Mediterranean Station, was part of the United States Navy in the 19th century that operated in the Mediterranean Sea. It was formed in response to the First and Second Barbary Wars. Between 1801 and 1818, the squadron was composed of a series of rotating squadrons. Later, squadrons were sent in the 1820s to the 1860s to suppress piracy, primarily in Greece and to engage in gunboat diplomacy. In 1865 the force was renamed the European Squadron.