and St. Domingo, reformed the Palace of Almudaina and began the construction of the Cathedral of Majorca. In 1391, anti-Jewish riots broke out. The Jewish community of Inca was completely wiped out, as were those of Sóller, Sineu, and Alcudia. Despite the governor's prohibition on leaving the island, many Jews fled to North Africa. The remaining Jews were forced to convert under the threat of death. Abraham Cresques was a 14th-century Jewish cartographer of the Majorcan cartographic school from Palma; Cresques is credited with the authorship of the famous Catalan Atlas. The river that cut through the city gave rise to two distinct areas within the city; the "Upper town" and "Lower town", depending upon which side of the river one was situated. The city's advantageous geographical location allowed it extensive commerce with Catalonia, Valencia, Provence, the Maghreb, the Italian republics, and the dominions of the Great Turk, which heralded a golden age for the city. 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 investment in defensive structures. As a consequence, the city entered a period of decadence that would last till the end of the 17th century. 17th to 19th centuries 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. During this period, the port became a haven for pirates. During the last quarter of the century, the Inquisition continued its persecution of the city's Jews, locally called xuetes. The fall of Barcelona in 1714 meant the end of the War of the Spanish Succession and the defeat and destruction of the Crown of Aragon, and this was reflected in the Nueva Planta decrees, issued by Philip V of Spain in 1715. These occupation decrees changed the government of the island and separated it from the municipality's government of Palma, which became the official city name. By the end of the 19th century, the name Palma de Mallorca was generalised in written Spanish, although it is still colloquially named Ciutat ("city") in Catalan. In the 18th century Charles III of Spain removed interdiction of commerce with Spanish colonies in America and the port and