He has also vowed to restore diplomatic ties with Iran’s old enemy, the United States, which cut relations with Iran in the aftermath of the 1979 seizure of the US embassy in Tehran by Islamist students.