Iranian supreme leader Ayatollah Ali Khamenei. [AFP]
Iran's supreme leader Ali Khamenei, whose death was confirmed by state media on Sunday, was a pillar of the country's theocratic system since the Islamic revolution and saw off multiple crises over the decades, remaining defiant to the very end.