In the 15th century, a type of light galleass, called the frigate, was built in southern European countries to answer the increasing challenge posed by the North African-based Barbary pirates in their fast galleys.