 During the Napoleonic Wars, British forces captured Maluku as the Netherlands were under French occupation.After the Anglo-Dutch Treaty of 1814, the British returned Maluku to the Dutch.The Dutch returned in 1817.