In 1478 (during the War of the Castilian Succession), a Castilian armada of thirty-five caravels and a Portuguese fleet fought the battle of Guinea in the waters off Elmina, for the hegemony of the Guinea trade (gold, ivory and black pepper). The war ended both with a Portuguese naval victory and the official recognition by the Catholic Monarchs of the Portuguese sovereignty over most of the African territories in dispute (Treaty of Alcáçovas, 1479). This was the first colonial war among European powers. Many more would come. After the Portuguese and Castilians came the Dutch, French and British.