Toguard against expected cheating in the second round, opposition activists dispatched observers to each of more than 11, 000 polling stations, who then text-messaged voting counts to their own collation centre in Dakar, using independent communications links run from a computer server outside the country.
Since Mahmoud Ahmadinejad was elected in 2005, he has consolidated power in Iran by utilizing the Basij militia to suppress opposition while embedding the Revolutionary Guard Corps in positions within the government and the bureaucracies.
But early promises of openness and reform - hailed as the Damascus Spring - have failed to materialise, which analysts largely put down toopposition from stalwarts in his father's old guard.