Both candidates in the July 24 runoff election had pledged to end years of political instability .