Duchy of Amalfi

The Duchy of Amalfi (, ) or the Republic of Amalfi () was a "de facto" independent state centered on the Southern Italian city of Amalfi during the 10th and 11th centuries. The city and its territory were originally part of the larger "ducatus Neapolitanus", governed by a patrician, but it extracted itself from Byzantine vassalage and first elected a duke (or doge) in 958. During the 10th and 11th centuries Amalfi was estimated to have a population of 50,000–70,000 people. It rose to become an economic powerhouse, a commercial center whose merchants dominated Mediterranean and Italian trade in IX and X century, before being surpassed and superseded by the other maritime republics of the North, like Pisa, Venice, and Genoa. In 1073, Amalfi lost its independence, falling to Norman invasion and subsequently to Pisa in 1137.
History.
The city of Amalfi was founded as a trading post in 339. Its first bishop was appointed in 596. In 838, the city was captured by Sicard of Benevento with help from traitors within the city, who led him in through the waterward defenses. Many of the Amalfitans in Salerno sacked that city and left. In 839, Amalfi freed itself from Lombard domination and elected a prefect. Nearby Atrani participated in these early prefectural elections. Subsequently, Amalfi helped to free Siconulf to oppose the ruling Prince of Benevento. In 897, the self-governing republic, still nominally tied to the Byzantine Empire, was defeated in a war with Sorrento, supported by Naples, in which her prefect was captured, later ransomed. In 914, the prefect Mastalus I was appointed first judge. In 903 the Amalfitans joined forces with Naples to attack the Arabs that had established themselves on the banks of the Garigliano river. However the combined forces of Amalfi and the Naples were driven back by the Arabs and their allies, the Italian city state of Gaeta. In 915 Amalfi did not join the Battle of Garigliano to fight against the Arabs. This was most likely due to the fact that since 909 Amalfi had been heavily trading with the Fatimid Caliphate and did not want to jeopardize relations with this powerful trade partner. In 958, Mastalus II was assassinated and Sergius I was elected first duke (or doge). From 981 to 983, Amalfi ruled the Principality of Salerno. In 987, the Amalfitan bishopric was raised to archiepiscopal status.
From 1034, Amalfi came under the control of the Principality of Capua and, in 1039, that of Salerno. In 1073, Robert Guiscard conquered the city and took the title "dux Amalfitanorum": "duke of the Amalfitans." In 1096, Amalfi revolted, but this was put down in 1101. It revolted again in 1130 and was finally subdued in 1131, when the Emir John marched on Amalfi by land and George of Antioch blockaded the town by sea and set up a base on Capri. In 1135 and 1137, Pisa sacked the city and the glory of Amalfi was past.
The Arab traveller Ibn Hawqal, writing in 977 during the great reign of Manso I, described Amalfi as:
The title "Duke of Amalfi" was revived in the later 14th century as a title used within the Kingdom of Naples.
Importance.
After the Amalfitans broke free of Lombard control they did not return to Neapolitan control but instead stated their independence. After 839 Amalfi was an independent entity and created a strong maritime presence. Amalfi had strong ties with both the Byzantine Empire ( a term used to refer to the Eastern Roman Empire and Byzantium, or the continuation of the Roman Empire in its eastern provinces during Late Antiquity and the Middle Ages) and the Fatimid Caliphate. The Amalfitans had a permanent and important presence in Constantinople during the 10th and 11th centuries. Amalfitans also created Latin Christian outposts in the Levant around 1040 and hostels for Christian pilgrims in Jerusalem and Antioch. During the 10th and 11th centuries Amalfi was dominating trade and commerce with North Africa and the Levant, and one of the major exports from Amalfi during the Middle Ages was the chestnut.
The legacy of the Duchy of Amalfi.
While the Duchy of Amalfi never regained its independence after 1137, the city of Amalfi was still important to maritime trade for the next 200 years, until 1343, when an earthquake and a storm destroyed most of its harbor. The most important contribution Amalfi made during those 200 years was probably the perfection of the modern-day box compass. Between 1295 and 1302, Flavio Gioia turned the compass from a needle floating in water to what we use today, a round box with a compass card that rotates 360 degrees attached to a magnetic element.