Question: What was the country whose economy Swaziland is most linked with called, before it became a republic?

full_context: Document 1: South Africa: The name ``South Africa ''is derived from the country's geographic location at the southern tip of Africa. Upon formation the country was named the Union of South Africa in English, reflecting its origin from the unification of four formerly separate British colonies. Since 1961 the long form name in English has been the`` Republic of South Africa''. In Dutch the country was named Republiek van Zuid - Afrika, replaced in 1983 by the Afrikaans Republiek van Suid - Afrika. Since 1994 the Republic has had an official name in each of its 11 official languages.
Document 2: History of South Africa: Following the defeat of the Boers in the Anglo - Boer or South African War (1899 -- 1902), the Union of South Africa was created as a dominion of the British Empire in terms of the South Africa Act 1909, which amalgamated the four previously separate British colonies: Cape Colony, Natal Colony, Transvaal Colony and Orange River Colony. The country became a self - governing nation state within the British Empire, in 1934 following enactment of the Status of the Union Act. The dominion came to an end on 31 May 1961 as the consequence of a 1960 referendum, which legitimised the country becoming a sovereign state named Republic of South Africa. A republican constitution was adopted.
Document 3: Transvaal Colony: The Transvaal Colony () was the name used to refer to the Transvaal region during the period of direct British rule and military occupation between the end of the Second Boer War in 1902 when the South African Republic was dissolved, and the establishment of the Union of South Africa in 1910. The physical borders of the Transvaal Colony were not identical to the defeated South African Republic (which had existed from 1856 to 1902), but was larger. In 1910 the entire territory became the Transvaal Province of the Union of South Africa.
Document 4: Eswatini: Swaziland's currency is pegged to the South African Rand, subsuming Swaziland's monetary policy to South Africa. Customs duties from the Southern African Customs Union, which may equal as much as 70% of government revenue this year, and worker remittances from South Africa substantially supplement domestically earned income. Swaziland is not poor enough to merit an IMF program; however, the country is struggling to reduce the size of the civil service and control costs at public enterprises. The government is trying to improve the atmosphere for foreign direct investment.
Document 5: Eswatini: In 1903, after British victory in the Anglo-Boer war, Swaziland became a British protectorate. Much of its early administration (for example, postal services) being carried out from South Africa until 1906 when the Transvaal colony was granted self-government. Following this, Swaziland was partitioned into European and non-European (or native reserves) areas with the former being two-thirds of the total land. Sobhuza's official coronation was in December 1921 after the regency of Labotsibeni after which he led an unsuccessful deputation to the Privy council in London in 1922 regarding the issue of the land.
Document 6: Economy of Eswatini: Eswatini, Lesotho, Botswana, Namibia, and the Republic of South Africa form the Southern African Customs Union (SACU), where import duties apply uniformly to member countries. Eswatini, Lesotho, Namibia, and South Africa also are members of the Common Monetary Area (CMA) in which repatriation and unrestricted funds are permitted. Eswatini issues its own currency, the lilangeni (plural: emalangeni), which is at par with the South African rand.
Document 7: Union of South Africa: The Union of South Africa (Dutch: Unie van Zuid - Afrika, Afrikaans: Unie van Suid - Afrika) is the historic predecessor to the present - day republic of South Africa. It came into being on 31 May 1910 with the unification of four previously separate British colonies: the Cape, Natal, Transvaal and Orange River colonies. It included the territories formerly part of the Boer republics annexed in 1902, the South African Republic and the Orange Free State.
Document 8: Switzerland: Agricultural protectionism—a rare exception to Switzerland's free trade policies—has contributed to high food prices. Product market liberalisation is lagging behind many EU countries according to the OECD. Nevertheless, domestic purchasing power is one of the best in the world. Apart from agriculture, economic and trade barriers between the European Union and Switzerland are minimal and Switzerland has free trade agreements worldwide. Switzerland is a member of the European Free Trade Association (EFTA).
Document 9: Cotton: The largest producers of cotton, currently (2009), are China and India, with annual production of about 34 million bales and 33.4 million bales, respectively; most of this production is consumed by their respective textile industries. The largest exporters of raw cotton are the United States, with sales of $4.9 billion, and Africa, with sales of $2.1 billion. The total international trade is estimated to be $12 billion. Africa's share of the cotton trade has doubled since 1980. Neither area has a significant domestic textile industry, textile manufacturing having moved to developing nations in Eastern and South Asia such as India and China. In Africa, cotton is grown by numerous small holders. Dunavant Enterprises, based in Memphis, Tennessee, is the leading cotton broker in Africa, with hundreds of purchasing agents. It operates cotton gins in Uganda, Mozambique, and Zambia. In Zambia, it often offers loans for seed and expenses to the 180,000 small farmers who grow cotton for it, as well as advice on farming methods. Cargill also purchases cotton in Africa for export.
Document 10: Eswatini: The Swazi economy is very closely linked to the economy of South Africa, from which it receives over 90% of its imports and to which it sends about 70% of its exports. Swaziland's other key trading partners are the United States and the EU, from whom the country has received trade preferences for apparel exports (under the African Growth and Opportunity Act – AGOA – to the US) and for sugar (to the EU). Under these agreements, both apparel and sugar exports did well, with rapid growth and a strong inflow of foreign direct investment. Textile exports grew by over 200% between 2000 and 2005 and sugar exports increasing by more than 50% over the same period.
Document 11: British Empire: 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 own—mostly short-lived—independent 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 (1852–77; 1881–1902) and the Orange Free State (1854–1902). In 1902 Britain occupied both republics, concluding a treaty with the two Boer Republics following the Second Boer War (1899–1902).
Document 12: History of South Africa: Following the defeat of the Boers in the Anglo - Boer or South African War (1899 -- 1902), the Union of South Africa was created as a dominion of the British Empire in terms of the South Africa Act 1909, which amalgamated the four previously separate British colonies: Cape Colony, Natal Colony, Transvaal Colony, and Orange River Colony. The country became a self - governing nation state within the British Empire, in 1934 following enactment of the Status of the Union Act. The dominion came to an end on 31 May 1961 as the consequence of a 1960 referendum, which legitimised the country becoming a sovereign state named Republic of South Africa. A republican constitution was adopted.
Document 13: 1960 South African republic referendum: A referendum on becoming a republic was held in South Africa on 5 October 1960. The Afrikaner - dominated right - wing National Party, which had come to power in 1948, was avowedly republican, and regarded the position of Queen Elizabeth II as head of state as a relic of British imperialism. The National Party government subsequently organised the referendum on whether the then Union of South Africa should become a republic. The vote, which was restricted to whites, was narrowly approved by 52.29% of the voters. The Republic of South Africa was constituted on 31 May 1961.
Document 14: Eswatini: About 75% of the population is employed in subsistence agriculture upon Swazi Nation Land (SNL). In contrast with the commercial farms, Swazi Nation Land suffers from low productivity and investment. This dual nature of the Swazi economy, with high productivity in textile manufacturing and in the industrialised agricultural TDLs on the one hand, and declining productivity subsistence agriculture (on SNL) on the other, may well explain the country's overall low growth, high inequality and unemployment.
Document 15: Eswatini: Swaziland is a developing country with a small economy. Its GDP per capita of $9,714 means it is classified as a country with a lower-middle income. As a member of the Southern African Customs Union (SACU) and Common Market for Eastern and Southern Africa (COMESA), its main local trading partner is South Africa. Swaziland's currency, the lilangeni, is pegged to the South African rand. Swaziland's major overseas trading partners are the United States and the European Union. The majority of the country's employment is provided by its agricultural and manufacturing sectors. Swaziland is a member of the Southern African Development Community (SADC), the African Union, the Commonwealth of Nations and the United Nations.
ground_truth: the Union of South Africa
sub_queries: Which nations economy is Swaziland most linked with? Answer: South Africa
what was South Africa called before it became a republic Answer: the Union of South Africa