On 12 July 2007, with Kibaki's reelection bid drawing close, Odinga alleged that the government was withholding identity cards from voters in opposition strongholds with intention to skew the election in favour of Kibaki.
On 1 September 2007, the ODM elected Odinga as its presidential candidate in a National Delegates Conference held at the Moi International Sports Centre in Nairobi.