Iran's effort to turn its government into one of democracy has been primarily successful in the past few years with a few exceptions. The first election in the country that caught people's attention was in 1997 when current president Mohammad Khatami beat the favored Conservative candidate Nateq Nouri. Khatami received over 70% of the votes and was very popular among young voters (the voting age in Iran is fifteen).
The electoral system in Iran basically represents the parliamentary system that so many countries use today. A president is elected by the people who in turn is responsible for selecting a prime minister and his cabinet which must be approved by Iran's parliament or "Majlis." The Majlis are the elected legislative assembly which is voted by the people of the country and they are the main chamber in the legislative branch. The voting system in Iran uses a majority system in two rounds of the election and in order to be elected, a candidate must receive one third of the votes in the first round in what they call single member constituencies of which there are around 196 of. There are also multi-member constituencies which a candidate can win one-third of their votes to be elected. The number of candidates who can run in the second round of the election is restricted to those in the lead or to twice the number of seats to be filled in one of the constituencies. If the number is less than double, all the remaining candidates can run. If the numbers of candidates remaining are equal to or less than the number of unfilled seats, the second round is not held and the results of the first ballot are kept. Empty seats between the general elections are filled through something called "by-elections." But no by-elections are held within the last year of the legislature's term, unless the total number of filled Assembly seats falls below two hundred.
Looking at their electoral system, Iran's way of electing officials and translating votes into their legislature's seats seems pretty fair.