structural:scholar_edition, structural:reformatting
Transition to independence

In 1947, the newly formed United Gold Coast Convention led by "The Big Six" called for "self-government within the shortest possible time" following the 1946 Gold Coast legislative election. Kwame Nkrumah, a Ghanaian nationalist who led Ghana from 1957 to 1966 as the country's first prime minister and president, formed the Convention People's Party in 1949 with the motto "self-government now". The party initiated a "positive action" campaign involving non-violent protests, strikes and non-cooperation with the British authorities. Nkrumah was arrested and sentenced to one year imprisonment during this time. In the Gold Coast's 1951 general election, he was elected to Parliament and was released from prison. He became prime minister in 1952 and began a policy of Africanization.

At midnight of March 6, 1957, the Gold Coast, Ashanti, the Northern Territories, and British Togoland were unified as one single independent dominion within the British Commonwealth under the name Ghana. This was done under the Ghana Independence Act 1957. The current flag of Ghana, consisting of the colours red, gold, green, and a black star, dates back to this unification. On 1 July 1960, following the Ghanaian constitutional referendum and Ghanaian presidential election, Nkrumah declared Ghana a republic and assumed the presidency. 6 March is the nation's Independence Day, and 1 July is celebrated as Republic Day.

Nkrumah led an authoritarian regime in Ghana, as he repressed political opposition and conducted elections that were not free and fair. In 1964, a constitutional amendment made Ghana a one-party state, with Nkrumah as president for life of both the nation and its party. Nkrumah was the first African head of state to promote the concept of Pan-Africanism, which he had been introduced to during his studies at Lincoln University, Pennsylvania in the United States, at the time when Marcus Garvey was known for his "Back to Africa Movement". He merged the teachings of Garvey, Martin Luther King Jr. and the naturalised Ghanaian scholar W. E. B. Du Bois into the formation of 1960s Ghana. Osagyefo Dr. Kwame Nkrumah, as he became known, played an instrumental part in the founding of the Non-Aligned Movement, and in establishing the Kwame Nkrumah Ideological Institute to teach his ideologies of communism and socialism. His life achievements were recognised by Ghanaians during his centenary birthday celebration, and the day was instituted as a public holiday in Ghana (Founders' Day).