The United States says it is deeply concerned by violence that has occurred in Kenya since a presidential election last week.

Robert F. Godec, the American ambassador in Kenya, said Monday that politicians and other leaders should condemn the violence. He also said Kenyan security forces should act with restraint and that protesters should exercise their right to demonstrate in a peaceful way.

Godec said Kenyans should engage in dialogue “to resolve the deep divisions that the electoral process has exacerbated.”

Opposition leader Raila Odinga boycotted the election Thursday, and some of his supporters have fought police. Authorities say they have had to use force to quell riots, looting and attacks on security forces and election workers.