Uganda was declared a protectorate by the British in 1894 in order to establish control over the region and protect British economic and strategic interests in East Africa. The British wanted to prevent other European powers, such as Germany and France, from gaining a foothold in the area and to ensure a steady supply of resources, particularly ivory and rubber, from the region. Additionally, the British sought to establish a buffer zone between their colonies in Kenya and Sudan, and to facilitate the construction of the Uganda Railway, which would connect the interior of East Africa to the coast.