With the shah’s overthrow and Khomeini’s return to Iran in 1979, Rafsanjani became one of Khomeini’s chief lieutenants. He helped found the Islamic Republican Party, served on the Revolutionary Council, and was acting interior minister during the early years of the revolution.