Answer: I’d probably say by a vote.
Explanation: If you let the citizens who are going to be “ruled upon” by a leader, it makes the most sense to have they choose who they want to be their leader. Like a vote.
Because it is a mosque which is the Islam version of church so a holy sacred place