The ruler of the Muslim community whose duty is to spread religious rule is Imam.
Imam is an Arabic word which means “Leader”. Imam usually teaches and spread religious beliefs like leading in prayers at the mosques. They are entitled and appointed to rule the Muslim community.