Xebec is a small three-masted vessel with lateen and square sails, used formerly in the Mediterranean by the Algerians pirates, and mounted with guns.[1]