When Jomo Kenyatta died on 22 August 1978, Moi became the acting president. Per the Constitution, a
special presidential election for the balance of Kenyatta's term was to be held on 8 November, 90 days later. However, a Cabinet meeting decided that no one else was interested in running for presidency, thus various politicians began campaigning across the country for Moi to be declared the president unopposed. He was therefore sworn in as the second President of Kenya on 14 October 1978 as a result of the
walkover electoral process. Upon becoming president, Moi promised (as noted by one journal) “to conduct an open, democratic government and lead the country into a new era of
African socialism.” and
Prince Bernhard during his state visit to the Netherlands in June 1979 In the beginning, Moi was popular with widespread support all over the country. He toured the country and came into contact with the people everywhere, which was in great contrast to Kenyatta's imperious style of leadership from behind closed doors. However, political realities dictated that he would continue to be beholden to the system of government that Kenyatta had created and to whose headship he had acceded, including the nearly dictatorial powers vested in his office. Despite his popularity, Moi was still unable to fully consolidate his power. From the beginning,
anti-communism was an important theme of Moi's government; speaking on the new President's behalf, Vice-President
Mwai Kibaki bluntly stated, "There is no room for
Communists in Kenya." On 1 August 1982, lower-level Air Force personnel, led by Senior
Private Grade-I
Hezekiah Ochuka and backed by university students,
attempted a coup d'état to oust Moi. The revolt was quickly suppressed by military and police forces commanded by Chief of General Staff
Mahamoud Mohamed. There may have been two or even three independent groups attempting to seize power at the same time, for differing reasons, but the most serious was led by prominent Kikuyu politicians and members of the police and armed forces. Moi took the opportunity to dismiss political opponents and consolidate his power. He reduced the influence of Kenyatta's men in the cabinet through a long-running judicial enquiry that resulted in the identification of key Kenyatta men as traitors. Moi pardoned them but not before establishing their traitor status in the public view. The main conspirators in the coup, including Ochuka, were sentenced to death, marking the last judicial executions in Kenya. Moi appointed loyalists to key positions and changed the constitution to formally make KANU the only legally permitted party in the country. But this made little difference to the political situation, as all significant opposition parties had been outlawed since 1969. Kenya's academics and other intelligentsia did not accept this and educational institutions across the country became sites of movements that sought to introduce democratic reforms. However, Kenyan
secret police infiltrated these groups and many of their members were exiled.
Marxism could no longer be taught at Kenyan universities. The remaining opposition at home went underground. to Kenya Starting in the late 1980s, Moi's regime faced the
end of the Cold War, as well as a national economic stagnation under rising oil prices and falling prices of agricultural commodities. Western governments also became more hostile to the KANU regime, a change of policy from the time of the Cold War, when Kenya had been viewed as an important regional stabilizer, preventing the spread of Soviet influence beyond
Ethiopia,
Somalia, and
Tanzania. During that time, Kenya had received much foreign aid, and the country was accepted as a stable, if authoritarian, regime with Moi and the KANU firmly in charge. Western allies overlooked the increasing degree of
political repression, including the use of
torture at the infamous
Nyayo House torture chambers. Some of the evidence of these torture cells was exposed in 2003 after opposition leader
Mwai Kibaki became president. With the fall of the Soviet Union and a lessening need to counter
socialist influence in the region, Western policymakers changed their toward Moi and other pro-Western Third World authoritarian regimes. They increasingly regarded Moi as a
despotic ruler rather than an important regional stabilizer. Foreign aid was withheld pending compliance with economic and political reforms. One of the key conditions imposed on his regime, especially by the United States through fiery ambassador
Smith Hempstone, was the restoration of a
multi-party system. Despite his own lack of enthusiasm for the reintroduction of a multi-party system, Moi managed to win over his party who were against the reform. Moi announced his intention to repeal Section 2(A) of the constitution, lifting the ban on opposition parties, at a KANU conference in
Kasarani in December 1991. Despite fierce debate and opposition from many delegates, the conference passed the motion unanimously. Regardless of the presence of opposition parties, Moi and the KANU clinched power in the first multi-party elections in
1992, and once again in
1997. Both elections were marred by
political violence on both the government and opposition forces. Moi skillfully exploited Kenya's mix of ethnic tensions in these contests, gaining a plurality in both elections through a mix of picking votes across the country while his opponents' support was more concentrated, attracting votes from smaller tribes, and the
Luhya, and taking advantage of fears of Kikuyu domination over the non-Kikuyu majority. In the absence of an effective and organised opposition, Moi had no difficulty in winning. Although it is also suspected that electoral fraud may have occurred, the key to his victory in both elections was a divided opposition. In 1992 he polled 36.3% of the votes, and in 1997 he received 40.4%, but both were comfortable victories due to vote-splitting between the various opposition groups, which failed to unify and field one opposition candidate. ==Criticism and corruption allegations==