After the Iranian Revolution, the fledgling Islamic republic faced a number of immediate challenges, ranging from the Western-educated loyalists of the shah to secularist left-wing dissidents to all-out war with neighbouring Iraq. Raisi dedicated his career from the start to upholding the nascent regime against internal opposition.