the Middle Ages. Judicate of Cagliari Subsequently, ruled by the Vandals, Ostrogoths, and then part of the Byzantine Empire, Cagliari became the capital of a gradually independent Judicate, (from Latin Iudex, Governor and Supreme Magistrate, used in late Roman and Byzantine period, along with the medieval Greek ἄρχων). This state was born around 1020 and was overthrown by the Republic of Pisa in 1258. Due to the overlap of buildings since the year 800 B.C., and the scarcity of archeological and historical informations, it was believed that the population was moved to more inland areas of the territory, along the lagoon, in a city called Santa Ilia or Santa Igia (modern San Gilla) and it was believed that the ancient Roman and Byzantine city had been abandoned because it was too exposed to attacks by Moorish pirates coming from north Africa and Spain. Recent studies have instead hypothesized that the capital of the Giudicato was located around the road that it directed towards Sassari, today called Corso Vittorio Emanuele II (in Sardinian language: Su Brugu, the borough), although there are not yet archeological confirmations, particularly of the Cathedral and the Judex Palace, destroyed after the Pisan conquest. The Judicate of Cagliari comprised a large area of the Campidano plain, the Sulcis-Iglesiente and the mountain region of Ogliastra. 11th to 13th century During the 11th century, the Republic of Pisa began to extend its political influence over the Judgedom of Cagliari. Pisa and the maritime republic of Genoa had a keen interest in Sardinia because it was a perfect strategic base for controlling the commercial routes between Italy and North Africa. In 1215 the Pisan Lamberto Visconti, husband of Elena of Gallura, forced the judikessa Benedetta of Cagliari to give him the mount located east of Santa Igia. Soon (1216–17) Pisan merchants established there a new fortified city, known as Castel di Castro, which can be considered the ancestor of the modern city of Cagliari. In 1258, after the defeat of William III, the last king of Cagliari, the Pisans and their Sardinian allies (Arborea, Gallura and Logudoro) destroyed the old capital of Santa Igia. The Judgedom of Cagliari was then divided into three parts: the northeast third went to Gallura; the central portion was incorporated into Arborea; Sulcis and Iglesiente, on the southwest, were given to the Pisan della Gherardesca family, while the Republic of Pisa maintained control over its