Ayatollah Ruhollah Khomeini was initially opposed to nuclear technology ; .
Iran engaged in a costly war with Iraq from 1980 to 1988 .
Ayatollah Ruhollah Khomeini was initially opposed to nuclear technology ; and Iran engaged in a costly war with Iraq from 1980 to 1988 .