The ships, including USS Constitution, were created to fight "Algerine corsairs," also known as Barbary Pirates.