The only candidates allowed to run were men with impeccable religious credentials, loyal to a regime whose most important decisions are made by unelected clerics. Mir-Hossein Mousavi, chosen by the late Ayatollah Khomeini to be prime minister in 1981, was such a figure.