Who was the ruler who showed tolerance to his subjects by letting them keep their own customs and religious beliefs?