Mojtaba Hosseini Khamenei served in the Iran-Iraq war in the 1980s where he developed close ties with the military services and with the Islamic Revolutionary Guard Corps.