You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
This task is about writing a correct answer for the reading comprehension task. Based on the information provided in a given passage, you should identify the shortest continuous text span from the passage that serves as an answer to the given question. Avoid answers that are incorrect or provides incomplete justification for the question.

Passage: The French and Indian War (17541763) was the North American theater of the worldwide Seven Years' War. The war was fought between the colonies of British America and New France, with both sides supported by military units from their parent countries of Great Britain and France, as well as Native American allies. At the start of the war, the French North American colonies had a population of roughly 60,000 European settlers, compared with 2 million in the British North American colonies. The outnumbered French particularly depended on the Indians. Long in conflict, the metropole nations declared war on each other in 1756, escalating the war from a regional affair into an intercontinental conflict. Question: When was the French and Indian War?
Solution: 1754-1763
Why? It is a common convention to write (start year-end year) beside a historical event to understand when the event happened. We can observe a similar notation from the passage to conclude that the French and Indian War happened during 17541763. Therefore, the answer is 17541763.

New input: Passage: The Dutch East India Company had founded the Cape Colony on the southern tip of Africa in 1652 as a way station for its ships travelling to and from its colonies in the East Indies. Britain formally acquired the colony, and its large Afrikaner (or Boer) population in 1806, having occupied it in 1795 to prevent its falling into French hands, following the invasion of the Netherlands by France. British immigration began to rise after 1820, and pushed thousands of Boers, resentful of British rule, northwards to found their ownmostly short-livedindependent republics, during the Great Trek of the late 1830s and early 1840s. In the process the Voortrekkers clashed repeatedly with the British, who had their own agenda with regard to colonial expansion in South Africa and with several African polities, including those of the Sotho and the Zulu nations. Eventually the Boers established two republics which had a longer lifespan: the South African Republic or Transvaal Republic (185277; 18811902) and the Orange Free State (18541902). In 1902 Britain occupied both republics, concluding a treaty with the two Boer Republics following the Second Boer War (18991902). Question: When did Britain formally acquire the Cape Colony?
Solution:
1806