"Warren" sailed for the Mediterranean on 22 February 1827 to stop Greek-flag pirates from victimizing American merchantmen. Unsettled conditions in the Near East and the Greek fight for independence had resulted in some excesses against third parties, notably American flag merchantmen. The piracy caused the American Mediterranean Squadron to establish a regular convoy system from Malta to Smyrna.