The opposition accused President Mwai Kibaki of rigging the vote to stay in power .