He was the assistant to the Pharaoh, and effectively "King of kings".
He is also the Christ-type. [1] [2]