The Dutch Republic being transformed into Revolutionary France's vassal Batavian Republic, Great Britain moved to take control of its colonies. Britain captured Cape Town in 1795, but the Cape was returned to the Dutch by treaty in 1803. British forces occupied the Cape again in 1806 following the Battle of Blaauwberg. In the Anglo-Dutch Treaty of 1814, Cape Town was permanently ceded to the United Kingdom. It became the capital of the newly formed Cape Colony, whose territory expanded very substantially through the 1800s. With expansion came calls for greater independence from the UK, with the Cape attaining its own parliament (1854) and a locally accountable Prime Minister (1872). Suffrage was established according to the non-racial Cape Qualified Franchise.