Who is the leader in a totalitarian state and how did they get there power?

who is the leader in a totalitarian state and how did they get thrie power?