It is generally seen as good to have someone who leads the prayers, though this is not strictly necessary. The person who usually leads the prayers is called "imam". He must be a free and honest man. He should also be an authority when it comes to answering questions on religion. In mosques that were built or that are kept up by the government, the imam is selected by the ruler. In private mosques, the community selects the imam, through majority voting.