tribulations was the silting of the Guadalquivir river in the 1620s, which made Seville's harbors harder to use, and ceased upriver shipping. The Great Plague of Seville in 1649, exacerbated by excessive flooding of the Guadalquivir, reduced the population by almost half, and it would not recover until the early 19th century. By the 18th century, Seville's international importance was in decline. After the silting up of the harbour by the River Guadalquivir, upriver shipping ceased and the city went into relative economic decline. The writer Miguel de Cervantes lived primarily in Seville between 1596 and 1600. Because of financial problems, Cervantes worked as a purveyor for the Spanish Armada, and later as a tax collector. In 1597, discrepancies in his accounts of the three years previous landed him in the Royal Prison of Seville for a short time. His short story Rinconete y Cortadillo, since the 19th century one of his most-read pieces, includes much description of Sevillian society; it features two young vagabonds who come to Seville, attracted by the riches and disorder that the 16th-century commerce with the Americas had brought to the city. During the 18th century Charles III of Spain promoted Seville's industries. Construction of the Real Fábrica de Tabacos (Royal Tobacco Factory) began in 1728. It was the second-largest building in Spain, after the royal residence El Escorial. Since the 1950s it has been the seat of the rectorate (administration) of the University of Seville, as well as its Schools of Law, Philology (language/letters), Geography, and History. More operas have been set in Seville than in any other city of Europe. In 2012, a study of experts concluded the total number of operas set in Seville is 153. Among the composers who fell in love with the city are Beethoven (Fidelio), Mozart (The Marriage of Figaro and Don Giovanni), Rossini (The Barber of Seville), Donizetti (La favorite), and Bizet (Carmen). The first newspaper in Spain outside of Madrid was Seville's Hebdomario útil de Seville, which began publication in 1758. Late modern history Between 1825 and 1833, Melchor Cano acted as chief architect in Seville; most of the urban planning policy and architectural modifications of the city were made by him and his collaborator Jose Manuel Arjona y Cuba. Industrial architecture surviving today from the first half of the 19th century includes the ceramics factory installed in the Carthusian monastery at La Cartuja in 1841