In the Middle Ages the powerful kingdom of Aragón comprised not only Aragón itself but Catalonia, Valencia, and the Balearic Islands. It was home to numerous Jewish communities, especially after the union with Catalonia in 1150. They had links with the Muslims, who lived here around 1500.