The country became independent after more than 150 years of British rule. The end of colonialism is tied to Britain's weakened position following World War II as it did with the pan-African demands for autonomy. It became an independent sovereign state 27 April 1961 and Milton Margai was the first prime minister. Negotiations for independence were held in London. It was agreed by the United Kingdom that Sierra Leone should be granted independence.