In his war with the Dutch, until the intervention of Louis XIV.
On the breaking out of the Dutch War in 1664 he was made treasurer of the prizes, being accountable to the king alone for all sums received or spent.
It is a quiet, typically Dutch town, with its old brick houses and tree-bordered canals.
Repeated attempts were made by various European nations to subdue the pirates, and in 1816 the city was bombarded by a British squadron under Lord Exmouth, assisted by Dutch men-of-war, and the corsair fleet burned.
Eventually, in 1641, a joint attack was made by the Achinese and the Dutch, but the latter, not the people of the sturdy little Sumatran kingdom, became the owners of the coveted port.