Rafsanjani was in a much stronger position vis-à-vis Khamenei, who had just been selected to succeed Khomeini as Supreme Leader, than any of Iran’s subsequent presidents. His trouble was with powerful opponents in Iran’s security apparatus, who sabotaged his pragmatic foreign-policy initiatives by staging terrorist attacks in France, Germany, and Argentina.