Ghana, officially the Republic of Ghana, is a country in West Africa. It is situated with the Gulf of Guinea and the Atlantic Ocean to the south, and shares borders with CÎte d'Ivoire to the west, Burkina Faso to the north, and Togo to the east. Ghana covers an area of 239,567 km (92,497 sq mi), spanning diverse ecologies, from coastal savannas to tropical rainforests. With over 35 million inhabitants, Ghana is the thirteenth-most populous country in Africa, and the second-most populous country in West Africa specifically. The capital and largest city is Accra; other significant cities include Tema, Kumasi, Sunyani, Ho, Cape Coast, Techiman, Tamale, Bolga, Wa, and Sekondi-Takoradi.
The earliest kingdoms to emerge in Ghana were Bonoman in the south and the Kingdom of Dagbon in the north, with Bonoman existing in the area during the 11th century. The Asante Empire and other Akan kingdoms in the south emerged over the centuries. Beginning in the 15th century, the Portuguese Empire, followed by other European powers, contested the area for trading rights, until the British ultimately established control of the coast by the 19th century. Following more than a century of colonial resistance, the current borders of the country took shape, encompassing four separate British colonial territories: Gold Coast, Ashanti, the Northern Territories, and British Togoland. These were unified as an independent dominion within the Commonwealth of Nations. On 6 March 1957 Ghana became the first colony in Sub-Saharan Africa to achieve sovereignty. Under President Kwame Nkrumah, it became influential in decolonisation efforts and the Pan-African movement.