Arab trading ships in the eastern Mediterranean developed a type of sail known as a lateen. It provided one enormous advantage: It could tack against a headwind or travel against the air current.
and research indicates it was a tartane — a small ship with triangular lateen sails on two masts that could also be propelled by oars. Tartanes were used by Barbary pirates in the 17th and 18th ...