Theocracy - Civil government by Religious Leaders. How is the Supreme Leader nominated and ratified?

Theocracy – Civil government by Religious Leaders. How is the Supreme Leader nominated and ratified?