BAKU, Azerbaijan -- Something funny happened the day before Azerbaijan's presidential election: The election commission announced the winner.
On Tuesday, a day before the voting began, the smartphone app of the Central Election Commission released results showing President Ilham Aliyev, whose family has been at the helm of the Caspian Sea nation for four decades, winning 73 percent of the vote.
After the polls closed on Wednesday, the commission said Aliyev had won 85 percent of the vote. His closest contender, Jamil Hasanli, trailed with less than 6 percent, it said.
The commission apologized for the early result, saying Thursday it had been only a test at one polling station conducted by the software developer. It expressed "deep regret" for the "misunderstanding."
Hasanli called the vote rigged and demanded a new election.
"Ilham Aliyev has no right to represent the Azerbaijani people," he said. "This election doesn't reflect the people's will."
Observers from the Organization for Security and Cooperation in Europe said Thursday the election was marred by restrictions during the campaign and serious violations during the voting and during the counting of votes.
The vote "was undermined by limitations on the freedoms of expression, assembly and association that didn't guarantee a level playing field for candidates," the group said.
It cited detentions, criminal prosecutions, reports of physical attacks and other pressure on journalists as well as disproportionate media coverage of the president.
On voting day, the OSCE said its monitors reported ballot-box stuffing in 37 polling stations. It also called the vote count "overwhelmingly negative, with 58 percent of the observed polling stations assessed as bad or very bad."
By The Associated Press