Most of the people are either Spaniards from the mainland—mainly from Andalusia—or their descendants, who reached the island in the early 1960s, or they are foreign immigrants. According to the 2008 census, the municipality has a population of 50,777 inhabitants, of whom 25,548 were males and 25,229 were women ( 50.31% versus 49.69%). The municipality has the second highest population in the Balearic Islands, second only to the capital, پالما ده مایورکا.