According to legends of the Maoris, their ancestors came to New Zealand in six canoes during the 14th century.