The Netherlands had been controlled by France for several years and was already at war with Britain. The strongly pro-French Herman Willem Daendels was appointed Governor General of the Dutch East Indies in 1807. He arrived in Java aboard the French privateer "Virginie" in 1808, and began fortifying the island against the threat of a British siege. In particular, Daendels established an entrenched camp named Fort Cornelis a few miles south of Batavia. He also improved the island's defences by building new hospitals, barracks, arms factories and a new military college.