Like Khomeini, he opposed Shah Mohammad Reza Pahlavi’s modernization program, and when Khomeini was exiled from Iran in 1962, Rafsanjani became his chief fund-raiser inside the country. He spent the years 1975–78 in jail in Iran on charges of links with left-wing terrorists.