In the 1989 Iranian Supreme Leader election, Ali Khamenei is elected as the new Supreme Leader of Iran after the death and funeral of Ruhollah Khomeini.

1989 Iranian Supreme Leader election
An election for the second Supreme Leader of Iran was held on 4 June 1989, following the death in office of Ruhollah Khomeini. In the election, Ali Khamenei was elected supreme leader by the Assembly of Experts with 60 votes out of 74.
Ali Khamenei
Ali Hosseini Khamenei is an Iranian cleric and politician who has served as the second supreme leader of Iran since 1989. His tenure as supreme leader, spanning 36 years, makes him the longest-serving head of state in the Middle East and the second-longest-serving Iranian leader of the 20th and 21st centuries, after Shah Mohammad Reza Pahlavi.
Supreme Leader of Iran
The supreme leader of Iran, also referred to as the supreme leader of the Islamic Revolution, but officially called the supreme leadership authority, is the head of state and the highest political and religious authority of Iran. The armed forces, judiciary, state radio and television, and other key government organizations such as the Guardian Council and Expediency Discernment Council are subject to the supreme leader. According to the constitution, the supreme leader delineates the general policies of the Islamic Republic, supervising the legislature, the judiciary, and the executive branches. The current lifetime officeholder, Ali Khamenei, has issued decrees and made the final decisions on the economy, the environment, foreign policy, education, national planning, and other aspects of governance in Iran. Khamenei also makes the final decisions on the amount of transparency in elections, and has dismissed and reinstated presidential cabinet appointees.
Death and state funeral of Ruhollah Khomeini
On 3 June 1989, at 22:20 IRST, Ruhollah Khomeini, the founder and first supreme leader of the Islamic Republic of Iran (IRI), died in Jamaran, Greater Tehran, aged 89 after spending eleven days at a private hospital, near his residency, after suffering five heart attacks in ten days. Sources put his age at 89, and list the cause of death as bleeding in the digestive system. As a mark of respect, Iran's government ordered all schools to be closed on Sunday and declared 40 days of mourning and said schools would be closed for five days. Pakistan declared ten days of national mourning, Syria announced seven days of mourning, Afghanistan, Lebanon and India announced three days of mourning. Iraq also expressed condolences.