The administration of the Dutch Gold Coast was again reformed when the Kingdom of Holland replaced the Batavian Republic in 1806. By royal decree of Louis Napoleon, King of Holland, the office of Governor-General was demoted to Commandant-General in 1807, and the administration was overhauled in 1809. An even bigger change came with the establishment of the Kingdom of the Netherlands in 1815. Leaving behind the uncertain years of French occupation, and with slave trade abolished, the newly established kingdom put up a plan to transform the colony into a profitable plantation colony. For this purpose, the new governor Herman Willem Daendels was given an open mandate and a large budget. The project was cut short with Daendels early death in 1818, however.