A chartered company established (1602) under the aegis of Prince Maurice of Nassau to coordinate the activities of companies competing for trade in the East Indies and to act as an arm of the Dutch state in its struggle against Spain. It was involved in attacks on the Portuguese (then part of the Spanish empire), and warfare with native rulers, and created a virtual monopoly in trade in fine spices (for example cloves, nutmeg, and mace) grown under its supervision in the Moluccas and the Banda Islands. In 1619 it made Batavia its headquarters. It ousted the Portuguese from Ceylon, set up trading posts in India, Persia, and Nagasaki, and made the Cape of Good Hope a base for Dutch ships en route to and from the East. In 1799 it was liquidated, its debts, possessions, and responsibilities being taken over by the Dutch state.