Trading post. Factories were then established by chartered companies such as the Dutch East India Company (VOC), founded in 1602, and the Dutch West India Company (WIC), founded in 1621. These factories provided for the exchange of products among European companies, local populations, and the colonies that often started as a factory with warehouses. Usually these factories had larger warehouses to fit the products resulting from the increasing agricultural development of colonies, which were boosted in the New World by the Atlantic slave trade.
Can be compared to the current public prosecutor.