What happened to the leadership of the Muslim community when Muhammad died in 632?

It became completely democratic.
It established a monarchical system known as the caliphate.
It separated the community into a spiritual leader known as an imam and a secular leader known as a sultan.
After a chaotic transitional period, it formed an aristocratic council known as the umma.

PLEASEEEEEE