As president, Rafsanjani was credited with spurring Iran's reconstruction following the 1980–88 war with Iraq. His reforms, despite attempting to curb the powers of the ultra-conservatives, failed to do so, and the Iranian Revolutionary Guards received increasing power from Khamenei during his presidency. He was also accused of corruption by both conservatives and reformists, and was known for tough crackdowns on dissent.