city was sold along with the remaining territory for 100,000 florins to the Crown of Aragon, replaced by Spain after 1479 on the joining of the Aragonese and Castilian thrones. During the period of Aragonese and then Spanish domination the city was known as Sàsser in Catalan language and Saçer in old Spanish. Renaissance The city alternated years of crisis, featuring economic exploitation, the decrease of the maritime trade, made unsafe by the daily raids of Saracen pirates, political corruption of its rulers, the sacking of Sassari in 1527 by the French, and two plagues in 1528 and 1652, with periods of cultural and economic prosperity. The Jesuits founded the first Sardinian university in Sassari in 1562. In the same year the first printing press was introduced and the ideals of Renaissance humanism became more widely known. Several artists of the Mannerist and Flemish schools practiced their art in the city. Modern history After the end of the Spanish period following the European wars of the early 18th century, the brief period of Austrian rule (1708–1717) was succeeded by domination by the Piedmontese, who then took over the Title of Kingdom of Sardinia (1720–1861). In 1795 an anti-feudal uprising broke out in the town, led by the Emissary of the Viceroy Giovanni Maria Angioy, a Sardinian civil servant, who later fought unsuccessfully against the house of Savoy. The city was occupied by troops at the time. The dynasty of the Piedmontese King of Sardinia went on to the monarchs of Italy. Sassari, along with the rest of Italy, became part of the newly created Kingdom of Italy. At the end of the 18th century the university was restored. In 1836, after six hundred years, the medieval walls were partially demolished, allowing the town to expand. New urban plans were developed, on the model of the capital of the new regime's, (Turin), with geometric streets and squares. Sassari became an important industrial center. In the 19th century it was the second most important town in what was to become the future Italy for the production of leather, and in 1848 the Sassarese entrepreneur Giovanni Antonio Sanna gained control of the mine at Montevecchio, becoming the third richest man in the new Kingdom of Italy. The first railway was opened in 1872. In 1877 the old Aragonese castle was demolished, and on the site the "Caserma La Marmora" was built, where the