How did Joseph rise to power?