Ahmadinejad became the mayor of Tehran, the capital of Iran, on May 3, 2003. He was chosen to be the president in elections on June 24, 2005. Many people think he is very religious. Because of that, the religious leadership in Iran supported him in many ways when he was elected.