The opposition decided to boycott both votes after accusing the president of using fraud to win local elections in May .