However Raul Khadjimba lost the elections to Sergei Bagapsh. The tense situation in the republic led to the cancellation of the election results by the Supreme Court. After that, a deal was struck between former rivals to run jointly, with Bagapsh as a presidential candidate and Khadjimba as a vice presidential candidate. They received more than 90% of the votes in the new election.