From the 17th to the 19th century, Benin was ruled by the Kingdom of Dahomey. It was called the Slave Coast by white people from as early as the 17th century, because of the large number of slaves shipped from Porto-Novo, Cotonou, and other ports to European colonies in the Americas.