Question: What year was the writing of the constitution of the country that the UK ruled Tristan da Cunha from?

full_context: Document 1: Cyprus: The island would serve Britain as a key military base for its colonial routes. By 1906, when the Famagusta harbour was completed, Cyprus was a strategic naval outpost overlooking the Suez Canal, the crucial main route to India which was then Britain's most important overseas possession. Following the outbreak of the First World War and the decision of the Ottoman Empire to join the war on the side of the Central Powers, on 5 November 1914 the British Empire formally annexed Cyprus and declared the Ottoman Khedivate of Egypt and Sudan a Sultanate and British protectorate.
Document 2: British Empire: At the concluding Treaty of Utrecht, Philip renounced his and his descendants' right to the French throne and Spain lost its empire in Europe. The British Empire was territorially enlarged: from France, Britain gained Newfoundland and Acadia, and from Spain, Gibraltar and Minorca. Gibraltar became a critical naval base and allowed Britain to control the Atlantic entry and exit point to the Mediterranean. Spain also ceded the rights to the lucrative asiento (permission to sell slaves in Spanish America) to Britain.
Document 3: President of South Africa: The President is elected by the National Assembly, the lower house of Parliament, and is usually the leader of the largest party, which has been the African National Congress since the first non-racial elections were held on 27 April 1994. The Constitution limits the president's time in office to two five - year terms. The first president to be elected under the new constitution was Nelson Mandela. The incumbent is Cyril Ramaphosa, who was elected by the National Assembly on 15 February 2018 following the resignation of Jacob Zuma.
Document 4: Constitution of India: The Constitution of India is the supreme law of India. It lays down the framework defining fundamental political principles, establishes the structure, procedures, powers and duties of government institutions and sets out fundamental rights, directive principles and the duties of citizens. It is the longest written constitution of any sovereign country in the world. B.R. Ambedkar, the chairman of the Drafting Committee, is widely considered to be its chief architect.
Document 5: Constitution of South Africa: The Constitution of South Africa is the supreme law of the country of South Africa. It provides the legal foundation for the existence of the republic, sets out the rights and duties of its citizens, and defines the structure of the government. The current constitution, the country's fifth, was drawn up by the Parliament elected in 1994 in the first non-racial elections. It was promulgated by President Nelson Mandela on 18th December 1996 and came into effect on 4 February 1997, replacing the Interim Constitution of 1993.
Document 6: Tristan da Cunha: In 1816, the United Kingdom annexed the islands, ruling them from the Cape Colony in South Africa. This is reported to have primarily been a measure to ensure that the French would be unable to use the islands as a base for a rescue operation to free Napoleon Bonaparte from his prison on Saint Helena. The occupation also prevented the United States from using Tristan da Cunha as a cruiser base, as it had during the War of 1812.
Document 7: Constitution of India: The Constitution of India (IAST: Bhāratīya Saṃvidhāna) is the supreme law of India. The document lays down the framework demarcating fundamental political code, structure, procedures, powers, and duties of government institutions and sets out fundamental rights, directive principles, and the duties of citizens. It is the longest written constitution of any country on earth. B.R. Ambedkar, chairman of the drafting committee, is widely considered to be its chief architect.
Document 8: Tristan da Cunha: Tristan da Cunha is part of the British overseas territory of Saint Helena, Ascension and Tristan da Cunha. This includes Saint Helena and equatorial Ascension Island some 3,730 kilometres (2,318 mi) to the north of Tristan. The island has a population of 267 as of January 2016.
Document 9: Battle of Trafalgar: In 1805, the First French Empire, under Napoleon Bonaparte, was the dominant military land power on the European continent, while the British Royal Navy controlled the seas. During the course of the war, the British imposed a naval blockade on France, which affected trade and kept the French from fully mobilising their naval resources. Despite several successful evasions of the blockade by the French navy, it failed to inflict a major defeat upon the British, who were able to attack French interests at home and abroad with relative ease.
Document 10: Saint Helena: In 1815, the British government selected Saint Helena as the place of detention of Napoleon Bonaparte. He was taken to the island in October 1815. Napoleon stayed at the Briars pavilion on the grounds of the Balcombe family's home until his permanent residence, Longwood House, was completed in December 1815. Napoleon died there on 5 May 1821.
Document 11: Constitution of India: The Constitution of India (IAST: Bhāratīya Saṃvidhāna) is the supreme law of India. The document lays down the framework demarcating fundamental political code, structure, procedures, powers and duties of government institutions and sets out fundamental rights, directive principles and the duties of citizens. It the longest written constitution of any country on earth. B.R. Ambedkar, chairman of the drafting committee, is widely considered to be its chief architect.
Document 12: Supreme court: In South Africa, a "two apex" system existed from 1994 to 2013. The Supreme Court of Appeal (SCA) was created in 1994 and replaced the Appellate Division of the Supreme Court of South Africa as the highest court of appeal in non-constitutional matters. The SCA is subordinate to the Constitutional Court, which is the highest court in matters involving the interpretation and application of the Constitution. But in August 2013 the Constitution was amended to make the Constitutional Court the country's single apex court, superior to the SCA in all matters, both constitutional and non-constitutional.
Document 13: Apartheid: The ANC won 62.65 percent of the vote, less than the 66.7 percent that would have allowed it to rewrite the constitution. 252 of the 400 seats went to members of the African National Congress. The NP captured most of the white and coloured votes and became the official opposition party. As well as deciding the national government, the election decided the provincial governments, and the ANC won in seven of the nine provinces, with the NP winning in the Western Cape and the IFP in KwaZulu - Natal. On 10 May 1994, Mandela was sworn in as South Africa's president. The Government of National Unity was established, its cabinet made up of 12 ANC representatives, six from the NP, and three from the IFP. Thabo Mbeki and de Klerk were made deputy presidents.
Document 14: Saint Helena: The island was uninhabited when discovered by the Portuguese in 1502. One of the most remote islands in the world, it was for centuries an important stopover for ships sailing to Europe from Asia and South Africa. Napoleon was imprisoned there in exile by the British, as were Dinuzulu kaCetshwayo (for leading a Zulu army against British rule) and more than 5,000 Boers taken prisoner during the Second Boer War.
Document 15: British Empire: The Napoleonic Wars were therefore ones in which Britain invested large amounts of capital and resources to win. French ports were blockaded by the Royal Navy, which won a decisive victory over a Franco-Spanish fleet at Trafalgar in 1805. Overseas colonies were attacked and occupied, including those of the Netherlands, which was annexed by Napoleon in 1810. France was finally defeated by a coalition of European armies in 1815. Britain was again the beneficiary of peace treaties: France ceded the Ionian Islands, Malta (which it had occupied in 1797 and 1798 respectively), Mauritius, St Lucia, and Tobago; Spain ceded Trinidad; the Netherlands Guyana, and the Cape Colony. Britain returned Guadeloupe, Martinique, French Guiana, and Réunion to France, and Java and Suriname to the Netherlands, while gaining control of Ceylon (1795–1815).
ground_truth: 1994
sub_queries: where did the UK rule the islands from? Answer: South Africa
when was the constitution of South Africa written Answer: 1994