In 1073, the republic fell to the Norman countship of 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 King 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.