Hassan Rouhani, who represented moderates and reformers in the Iranian presidential campaign, won 23.5 million (or 57 percent) of the total vote, while his closest rival, Ebrahim Raisi, received 15.7 million (38.5 percent), the Interior Ministry announced.