On August 13, 1814, the United Kingdom of Great Britain and Ireland and the Sovereign Principality of the United Netherlands signed the treaty in London. The treaty returned many of the territories in the Moluccas and Java that Britain had taken during the Napoleonic Wars to the Dutch. However, it confirmed that Britain would keep the Cape Colony in southern Africa and some parts of Dutch Guiana in South America.