Uhuru Kenyatta has vowed to overcome Kenya’s divisions after being sworn in for a second term as president, at a ceremony boycotted by the opposition.
Speaking after his inauguration in the capital Nairobi, he said he would try to incorporate some of the opposition’s ideas “in the spirit of inclusivity”.
Two people died when police clashed with opposition supporters in the city.
Opposition leader Raila Odinga announced plans to be sworn in himself as president next month.
He boycotted last month’s repeat election and has not recognised Mr Kenyatta’s victory.
Mr Kenyatta was officially re-elected with 98% of the vote on 26 October but just under 39% of voters turned out.
The original election on 8 August was held again after being annulled by the Supreme Court on grounds of irregularities.
Embarking on his second and last term in office, he promised to act as “the custodian of the dreams of all” Kenyans.
Without specifying whether he would reach out to Mr Odinga, he said: “We may have chosen different candidates and different visions, but each one of us voted for a better life.
“To my competitors, and in the spirit of inclusivity, I will endeavour to incorporate some of their ideas. The election was not a contest between a good dream and a bad dream. It was a contest between two competing visions.
“I will devote my time and energy to build bridges, to unite and bring prosperity to all Kenyans.”
Spectators inside Nairobi’s Kasarani sports stadium were entertained by music and dance performances, while the military paraded.
However, there were scenes of chaos outside when people without seats tried to rush in and were driven back by police with tear gas and batons, with some officers on horseback.
Big screens had been promised so that tens of thousands of people could watch the ceremony from outside the stadium but no screens were provided, AFP news agency reports.