Kenya leader vows to work with rivals Uhuru Kenyatta, one of Africa's richest men has narrowly won Kenya's presidential election. UHURU Kenyatta has narrowly won Kenya's presidential election, urging calm and pledging to work with rivals and co-operate with the international community. Kenyatta, son of Kenya's founding president and one of Africa's richest men, scraped in with 50.07 percent of the vote, avoiding a runoff against his closest rival Raila Odinga. However Odinga, the outgoing prime minister, said he would contest the results in court. Odinga's charges on Saturday echo accusations in 2007 presidential polls when he alleged he was robbed of victory, with disputed results triggering bloody ethnic violence in which more than 1,100 people were killed. "We have highlighted so many irregularities in the tallying process," Odinga told reporters, shortly after the Independent Electoral and Boundaries Commission (IEBC) declared Kenyatta the "duly elected president." The rigging claims have been dismissed by Kenya's electoral commission. Kenyatta, who is facing a international crimes against humanity trial, beamed a wide smile as he waved his official victory certificate from the IEBC to loud cheers from the crowd. Political loyalties in Kenya are largely based along ethnic lines, and while Kenyatta's majority Kikuyu people and the new found Kalenjin allies of his running mate William Ruto partied, the Luo of Odinga mourned their loss. "Any violence now could destroy the country forever, and that would not serve anyone's interests," warned Odinga, who won 43.31 percent of the vote. But Kenyatta offered Odinga an olive branch, telling thousands of his party loyalists that he wanted to work with him "in moving our nation forward." The new president-elect also called on his celebrating supporters not to laud it over those they have defeated, urging them to be "modest in our victory." Both Kenyatta and his future vice-president Ruto, 46, face ICC charges over the violence in the aftermath of the 2007 elections, including orchestrating murder and persecution. Former UN chief Kofi Annan, who helped broker peace after the 2007-8 violence, said Kenya faced "a test of the strength" of its democracy but that he was confident the east African country would "emerge stronger" in the end. Former colonial ruler Britain, in a message echoed by the European Union, urged people "to accept defeat or take any disputes to the courts."