Iran's first Election Law was developed with Hashemi's partnership.
He nominated as one of the Islamic Republican Party's candidates in the 1980 legislative election in Tehran.
He gained 1,151,514 (54%) votes and ranked 15.
Rafsanjani was the Speaker of Parliament of Iran for 9 years.
He was elected as the speaker in 1980 in the first season of Parliament after the Iranian Revolution.
He was also chairman in the second season and first year of the third parliament.
After the death of Ruhollah Khomeini, founder of the Islamic Republic and election of then-President Ali Khamenei as new supreme leader, he joined the 1989 presidential race and became the President, leaving Parliament.

He had a determining role in the dismissal of Abulhassan Banisadr as commander-in-chief of Iranian military and then his impeachment in the parliament as Iran's first president in June 1981.
In the summer of 1981, he protested to the veto of the parliament's plan by the Guardian Council and informed it to Ruhollah Khomeini.
This led to the establishment of Expediency Discernment Council, which later he chaired the council.
He had an active role in Iran–Contra affair, which was divulged by Mehdi Hashemi and failed.
Mehdi Hashemi was executed but Rafsanjani was the loser at internal dimension.

In October 1981 presidential election, when he voted to Ali Khamenei, he said it's vote of "Imam (Khomeini), clerics and the parliament".
During differences between Prime Minister Mir-Hossein Mousavi and Khamenei, Hashemi cleverly managed to keep the position favor or against these two perspectives and take the middle position.
According to Bahman Bakhtiari, at that time Mousavi was the leader of the left-wing, and Khamenei the right-wing.
With the death of Khomeini (one of the supporters of leftists), leftists were weakened.
In such circumstances, Hashemi leaped for a powerful presidency.
Iran's first Election Law was developed with Hashemi's partnership. He nominated as one of the Islamic Republican Party's candidates in the 1980 legislative election in Tehran. He gained 1,151,514 (54%) votes and ranked 15. Rafsanjani was the Speaker of Parliament of Iran for 9 years. He was elected as the speaker in 1980 in the first season of Parliament after the Iranian Revolution. He was also chairman in the second season and first year of the third parliament. After the death of Ruhollah Khomeini, founder of the Islamic Republic and election of then-President Ali Khamenei as new supreme leader, he joined the 1989 presidential race and became the President, leaving Parliament.
He had a determining role in the dismissal of Abulhassan Banisadr as commander-in-chief of Iranian military and then his impeachment in the parliament as Iran's first president in June 1981. In the summer of 1981, he protested to the veto of the parliament's plan by the Guardian Council and informed it to Ruhollah Khomeini. This led to the establishment of Expediency Discernment Council, which later he chaired the council. He had an active role in Iran–Contra affair, which was divulged by Mehdi Hashemi and failed. Mehdi Hashemi was executed but Rafsanjani was the loser at internal dimension.
In October 1981 presidential election, when he voted to Ali Khamenei, he said it's vote of "Imam (Khomeini), clerics and the parliament". During differences between Prime Minister Mir-Hossein Mousavi and Khamenei, Hashemi cleverly managed to keep the position favor or against these two perspectives and take the middle position. According to Bahman Bakhtiari, at that time Mousavi was the leader of the left-wing, and Khamenei the right-wing. With the death of Khomeini (one of the supporters of leftists), leftists were weakened. In such circumstances, Hashemi leaped for a powerful presidency.
Akbar Hashemi Rafsanjani