Thomas Sankara, a Marxist and the leader of the leftist faction of the Ouédraogo government, was made Prime Minister but was later imprisoned. Efforts to free him led to the 1983 coup d'état, in which he became president. Sankara renamed the country Burkina Faso and launched an ambitious socioeconomic programme which included a nationwide literacy campaign, land redistribution to peasants, railway and road construction and the outlawing of female genital mutilation, forced marriages and polygamy. Sankara was overthrown and killed in the 1987 coup d'état led by Blaise Compaoré – deteriorating relations with former coloniser France and its ally the Ivory Coast were the reason given for the coup.