Uganda contains approximately 49 distinct ethnic groups distributed across a territory that became a unified political entity only in the twentieth century. The largest grouping is the Baganda people, who constitute roughly 16.5 percent of the national population and historically dominated the central region surrounding Kampala through the Kingdom of Buganda. The Banyankole represent approximately 9.6 percent, concentrated in southwestern districts including Mbarara. The Basoga account for 8.8 percent, inhabiting areas east of Lake Kyoga and north of Lake Victoria including Jinja. The Bakiga constitute 7.1 percent in the southwestern highlands near Kabale. The Iteso represent 7 percent in the eastern region around Soroti. The Langi account for 6.3 percent in the north-central region near Lira. The Bagisu constitute 4.9 percent on the western slopes of Mount Elgon near Mbale. The Acholi represent 4.4 percent in the northern districts including Gulu. These percentages derive from the 2014 national census conducted by the Uganda Bureau of Statistics.
The linguistic diversity reflects this ethnic complexity through four major language families present within Uganda's borders. Bantu languages predominate across the southern two-thirds of the country, including Luganda spoken by the Baganda, Runyankole-Rukiga spoken in the southwest, Lusoga in the east, and Rutooro in the west. Nilotic languages dominate the northern regions, divided into Western Nilotic languages including Acholi and Lango, and Eastern Nilotic languages including Karimojong and Ateso. Central Sudanic languages appear in the northwestern corner including Lugbara spoken around Arua and Madi. Kuliak languages represent a small isolate family spoken by the Ik people in the northeastern mountains near Mount Moroto. English functions as the official language inherited from British colonial administration, while Swahili gained official status in 2005 though it remains primarily a commercial lingua franca rather than a mother tongue for most Ugandans.
Archaeological evidence places human activity in the territory now called Uganda back approximately 50,000 years based on stone tool findings at sites in the Albertine Rift region. The transition to agriculture occurred roughly 3,000 years ago with the arrival of Bantu-speaking populations migrating from the west and south, evidenced by iron-working sites at Ntusi dated to approximately 1000 CE and the earthwork complex at Bigo bya Mugenyi dated to the fourteenth or fifteenth century. These sites indicate significant political organization and cattle-keeping economies predating any written records. Nilotic-speaking populations moved into northern regions from approximately 1500 CE onward, establishing distinct cultural patterns centered on mixed agriculture and pastoralism. The Karamojong cluster of peoples in the northeast maintained predominantly pastoral lifestyles that continue into the present, representing the southernmost extension of the Nilotic pastoralist cultural zone that stretches northward into South Sudan and Ethiopia.
The Kingdom of Buganda emerged as the dominant political entity in the Great Lakes region by the eighteenth century, though oral traditions trace the royal lineage back to the fourteenth century through a succession of kabakas or kings. Kabaka Mutesa I ruled from 1856 to 1884 and opened Buganda to external influences by receiving Arab traders seeking ivory and slaves, followed by British explorers including John Hanning Speke who reached his court in 1862 seeking the source of the Nile. Speke identified the Nile's exit from Lake Victoria at the location that later became Jinja, though the White Nile actually has multiple sources throughout the lake's feeder river system. Mutesa I permitted both Islamic teachers and Christian missionaries to operate in his kingdom while maintaining control over religious conversion among his subjects. His son Kabaka Mwanga II ascended in 1884 and perceived the growing influence of foreign religions as a threat to royal authority, leading to the execution of Christian converts in 1886. Between 30 and 45 Christians, both Catholic and Anglican, were burned alive or killed at Namugongo on June 3, 1886, an event commemorated annually at the Namugongo Martyrs Shrine located approximately 15 kilometers from central Kampala.
The Kingdom of Bunyoro controlled territories west and north of Buganda through the nineteenth century under the dynasty of the Omukama, with Omukama Kabalega ruling from 1870 to 1899. Bunyoro's power derived partly from control of Lake Albert's resources and trade routes extending toward the Congo Basin. Kabalega implemented military reforms creating a standing army called the Abarusura and resisted British colonial expansion more directly than Buganda's leadership. British forces pursued Kabalega for years before capturing him in 1899, after which he was exiled to the Seychelles until 1923. The contrast between Buganda's collaborative approach and Bunyoro's resistance shaped subsequent colonial administrative structures, with the British governing Uganda through the Kingdom of Buganda as an administrative proxy in what became known as indirect rule.
Britain declared a protectorate over Uganda in 1894, initially covering only Buganda and gradually extending to encompass additional kingdoms and territories by 1914. The colonial administration preserved the Buganda monarchy and aristocratic structures while using Baganda agents to administer other regions, creating resentment that persisted through independence and beyond. The British introduced cotton and coffee as cash crops in the early twentieth century, fundamentally altering economic patterns by requiring land to be held individually rather than communally and creating a class of African cash-crop farmers primarily among the Baganda. Indian laborers brought to construct the Uganda Railway from Mombasa to Kisumu between 1896 and 1901 established trading communities that dominated wholesale and retail commerce throughout the colonial period, creating a three-tier economic structure with Europeans controlling export-import firms and administration, Indians controlling intermediate trade, and Africans primarily engaged in subsistence agriculture or cash crop production.
The Uganda Agreement of 1900 formalized Britain's relationship with Buganda by recognizing the Kabaka as the native ruler under British protection while allocating land ownership to approximately 4,000 Baganda chiefs and notables. This agreement converted communal land tenure into individual freehold ownership benefiting a small Baganda elite and creating a landless class. Similar agreements followed with the kingdoms of Toro in 1900 and Ankole in 1901, though Bunyoro received less favorable terms due to its prior resistance. The northern and eastern regions containing Nilotic and other non-Bantu populations were administered directly without recognizing traditional political structures, treated as labor reserves for cotton production and military recruitment. This differential treatment embedded regional inequalities in education, infrastructure, and political representation that shaped post-independence conflicts.
Christian missionary activity expanded rapidly in the early twentieth century with both Catholic White Fathers and Anglican Church Missionary Society establishing schools, hospitals, and churches. The Bahai Temple in Kampala was completed in 1961 as the only Bahai house of worship on the African continent, designed by Charles Mason Remey on Kikaya Hill. Namirembe Cathedral, the provincial cathedral of the Anglican Church of Uganda, was built in 1903 on Namirembe Hill overlooking Kampala. Rubaga Cathedral serves as the seat of the Catholic Archdiocese of Kampala. Religious affiliation data from the 2014 census indicates approximately 84 percent of Ugandans identify as Christian, divided between 39.3 percent Roman Catholic and 32 percent Anglican, with 13.7 percent Muslim and small percentages of other faiths. These figures represent significant change from the pre-colonial period when indigenous religious practices predominated.
Political organization toward independence began accelerating in the 1950s with the formation of multiple parties representing different regional and religious constituencies. The Uganda National Congress formed in 1952, followed by the Democratic Party in 1954 drawing primarily Catholic support, and the Uganda People's Congress in 1960 led by Apollo Milton Obote representing northern and eastern interests. The question of Buganda's status within an independent Uganda created persistent tensions, with Buganda's leadership seeking federal autonomy or independence separate from other regions. The Kabaka Mutesa II, who had ruled since 1939, was deported by British Governor Andrew Cohen in 1953 for refusing to cooperate with reforms integrating Buganda into a unified Uganda, but returned in 1955 after negotiations. Elections in 1961 resulted in a Democratic Party victory, but a coalition between Obote's Uganda People's Congress and the Buganda-based Kabaka Yekka party won subsequent elections in 1962.