Former U.N. Secretary-General Kofi Annan helped broker a peace deal that included a power-sharing agreement between Mr. Kibaki and opposition leader Raila Odinga .