Khamenei led Iran through decades of regional confrontation and oversaw a nuclear program that brought the country closer than ever to weapons capability.
Now, with the man at the top gone, the future of the Islamic Republic hangs in the balance.
Could this mark the collapse of one of the most powerful and controversial regimes in the Middle East? Or will the system survive beyond its longtime leader?