Ali Bongo narrowly defeated Jean Ping in a highly disputed election that sparked deadly riots and arson.