In early times Lucena was inhabited almost exclusively by Jews who had arrived together with its founders; hence it was called "Jews' City", a nickname also applied to Granada and Tarragona. The Jews of Lucena, who carried on extensive trade and industries, were, according to the 11th-century Muslim geographer, Mohamed al-Edrisi, richer than those of any other city. They enjoyed the same freedom as their correligionists in the large Muslim cities. Their rabbi, who was elected by the entire community, was granted special privileges and acted as judge in the civil and criminal cases arising in the community. The Jews lived peaceably until the Almoravides came into power.