Islamic ideal system is democracy, there is verse in Quran saying this explicitly. All first four Chalipt is elected through consultation where the first one, Abu Bakar, is through voting. All four Chalips are not blood related which shows Islam is an advanced and modern system.
View attachment 944212
You can learn about the process of election after the death of Prophet Muhammad from the Muhammad Haikal written book, famous Egyptian Historian. There were debate and votes, very very modern system. Two leaders from Anshar (biggest in population) and Quraish (minority) were in competition. The result showing that Quraish winning shows the election is based on rational rather than majority vs minority power composition as like Today democracy in modern world.
Translated copy in Indonesian language.
View attachment 944211