Apulia, but was granted many rights. A prey to the Normans who encamped in the south of Italy, it became one of their principal posts. However, in 1131, it was reduced by Roger II of Sicily, who had been refused the keys to its citadel. The Holy Roman Emperor Lothair, fighting in favour of Pope Innocent II against Roger, who sided with the Antipope Anacletus, took him prisoner in 1133, assisted by forty-six Pisan ships. The Pisans, commercial rivals of the Amalfitani, sacked the city; Lothair claimed as part of the booty a copy of the Pandects of Justinian which was found there. In 1135 and 1137, it was taken by the Pisans and rapidly declined in importance, though its maritime code, known as the Amalfian Laws, was recognized in the Mediterranean until 1570. A tsunami in 1343 destroyed the port and lower town, and Amalfi never recovered to anything more than local importance. In medieval culture Amalfi was famous for its flourishing schools of law and mathematics. Flavio Gioia, traditionally considered the first to introduce the mariner's compass to Europe, is said to have been a native of Amalfi. Amalfi has a long history of catering for visitors, with two former monasteries being converted to hotels at a relatively early date, the Luna Convento in the second decade of the 19th century and the Cappuccini Convento in the 1880s. Celebrated visitors to Amalfi included the composer Richard Wagner and the playwright Henrik Ibsen, both of whom completed works while staying in Amalfi. Author Gore Vidal was a long time resident. Main sights Amalfi occupied a high position in medieval architecture; its cathedral of Sant'Andrea (Saint Andrew, 11th century), the campanile, the convent of the Cappuccini, founded by the Amalfitan Cardinal Pietro Capuano, richly represent the artistic movement prevailing in Southern Italy at the time of the Normans, with its tendency to blend the Byzantine style with the forms and sharp lines of the northern architecture. Cathedral At the top of a flight of steps, Saint Andrew's Cathedral (Duomo) overlooks the Piazza Duomo, the heart of Amalfi. The cathedral dates back to the 11th century; its interior is adorned in the late Baroque style with a nave and two aisles divided by 20 columns. The façade of the cathedral is Byzantine in style and is adorned with various paintings of saints, including a large fresco of Saint Andrew. The gold