sentences:  At the beginning of the 16th century, the Rebellion of the Brotherhoods (a peasant uprising against Charles V's administration) and the frequent attack of Turkish and Berber pirates caused a reduction of commercial activities and a huge inversion in defensive structures.As a consequence, the city entered a period of decadence that would last till the end of the 17th century.The 17th century was characterised by the division of the city into two sides or gangs, named "Canamunts" and "Canavalls" (from Majorcan Catalan "the ones from the upper/lower side"), with severe social and economic repercussions.