section_path: History and characteristics/Colonization before World War I/Britain's administration of Egypt and South Africa
section_name: Britain's administration of Egypt and South Africa
paragraph_text: Britain's administration of Egypt and South Africa
  
  Britain's administration of Egypt and the Cape Colony contributed to a preoccupation over securing the source of the Nile River. Egypt was taken over by the British in 1882, leaving the Ottoman Empire in a nominal role until 1914, when London made it a protectorate. Egypt was never an actual British colony. Sudan, Nigeria, Kenya, and Uganda were subjugated in the 1890s and early 20th century; and in the south, the Cape Colony (first acquired in 1795) provided a base for the subjugation of neighbouring African states and the Dutch Afrikaner settlers who had left the Cape to avoid the British and then founded their republics. Theophilus Shepstone annexed the South African Republic in 1877 for the British Empire, after it had been independent for twenty years. In 1879, after the Anglo-Zulu War, Britain consolidated its control of most of the territories of South Africa. The Boers protested, and in December 1880 they revolted, leading to the First Boer War. British Prime Minister William Gladstone signed a peace treaty on 23 March 1881, giving self-government to the Boers in the Transvaal. The Jameson Raid of 1895 was a failed attempt by the British South Africa Company and the Johannesburg Reform Committee to overthrow the Boer government in the Transvaal. The Second Boer War, fought between 1899 and 1902, was about control of the gold and diamond industries; the independent Boer republics of the Orange Free State and the South African Republic were this time defeated and absorbed into the British Empire.
  
  The French thrust into the African interior was mainly from the coasts of West Africa (present-day Senegal) eastward, through the Sahel along the southern border of the Sahara. Their ultimate aim was to have an uninterrupted colonial empire from the Niger River to the Nile, thus controlling all trade to and from the Sahel region by their existing control over the caravan routes through the Sahara. The British, on the other hand, wanted to link their possessions in Southern Africa with their territories in East Africa and these two areas with the Nile basin.
  
  The Sudan (which included most of present-day Uganda) was the key to the fulfilment of these ambitions, especially since Egypt was already under British control. This "red line" through Africa is made most famous by Cecil Rhodes. Along with Lord Milner, the British colonial minister in South Africa, Rhodes advocated such a "Cape to Cairo" empire, linking the Suez Canal to the mineral-rich South Africa by rail. Though hampered by the German occupation of Tanganyika until the end of World War I, Rhodes successfully lobbied on behalf of such a sprawling African empire.
  
  Britain had sought to extend its East African empire contiguously from Cairo to the Cape of Good Hope, while France had sought to extend its holdings from Dakar to the Sudan, which would enable its empire to span the entire continent from the Atlantic Ocean to the Red Sea. If one draws a line from Cape Town to Cairo (Rhodes's dream), and one from Dakar to the Horn of Africa (the French ambition), these two lines intersect somewhere in eastern Sudan near Fashoda, explaining its strategic importance.
  
  A French force under Jean-Baptiste Marchand arrived first at the strategically located fort at Fashoda, soon followed by a British force under Lord Kitchener, commander in chief of the British Army since 1892. The French withdrew after a standoff and continued to press claims to other posts in the region. The Fashoda Incident ultimately led to the signature of the Entente Cordiale of 1904, which guaranteed peace between the two.