Ebrahim Raisi was elected president of Iran in 2021. The hard-liner, who previously headed the country's judiciary, was known for his connections to Iran's religious leaders, including Ayatollah Ali Khamenei.