section_path: History/British Kenya (1888–1962)
section_name: British Kenya (1888–1962)
paragraph_text: British Kenya (1888–1962)
  
  The transfer by Germany to Britain was followed by the building of the Uganda Railway passing through the country.
  
  The building of the railway was resisted by some ethnic groups—notably the Nandi, led by Orkoiyot Koitalel Arap Samoei from 1890 to 1900—but the British eventually built it. The Nandi were the first ethnic group to be put in a native reserve to stop them from disrupting the building of the railway.
  
  During the railway construction era, there was a significant influx of Indian workers, who provided the bulk of the skilled labour required for construction. They and most of their descendants later remained in Kenya and formed the core of several distinct Indian communities, such as the Ismaili Muslim and Sikh communities. While building the railway through Tsavo, a number of the Indian railway workers and local African labourers were attacked by two lions known as the Tsavo maneaters.
  
  At the outbreak of World War I in August 1914, the governors of British East Africa (as the protectorate was generally known) and German East Africa initially agreed on a truce in an attempt to keep the young colonies out of direct hostilities. But Lieutenant Colonel Paul von Lettow-Vorbeck, the German military commander, determined to tie down as many British resources as possible. Completely cut off from Germany, Lettow-Vorbeck conducted an effective guerrilla warfare campaign, living off the land, capturing British supplies, and remaining undefeated. He eventually surrendered in Northern Rhodesia (today Zambia) 14 days after the Armistice was signed in 1918.
  
  To chase von Lettow, the British deployed the British Indian Army troops from India but needed large numbers of porters to overcome the formidable logistics of transporting supplies far into the interior on foot. The Carrier Corps was formed and ultimately mobilised over 400,000 Africans, contributing to their long-term politicisation.
  
  In 1920, the East Africa Protectorate was turned into a colony and renamed Kenya after its highest mountain.
  
  During the early part of the 20th century, the interior central highlands were settled by British and other European farmers, who became wealthy farming coffee and tea. One depiction of this period of change from a colonist's perspective is found in the memoir Out of Africa by Danish author Baroness Karen von Blixen-Finecke, published in 1937. By the 1930s, approximately 30,000 white settlers lived in the area and gained a political voice because of their contribution to the market economy.
  
  The central highlands were already home to over a million members of the Kikuyu people, most of whom had no land claims in European terms and lived as itinerant farmers. To protect their interests, the settlers banned the growing of coffee and introduced a hut tax, and the landless were granted less and less land in exchange for their labour. A massive exodus to the cities ensued as their ability to make a living from the land dwindled. By the 1950s, there were 80,000 white settlers living in Kenya.
  
  Throughout World War II, Kenya was an important source of manpower and agriculture for the United Kingdom. Kenya itself was the site of fighting between Allied forces and Italian troops in 1940–41, when Italian forces invaded. Wajir and Malindi were bombed as well.