query: When did Sardinia become part of Italy?
passage: History of Sardinia
In the Early Middle Ages, through barbarian movements, the waning of the Byzantine Empire influence in the western Mediterranean and the Saracen raids, the island fell out of the sphere of influence of any higher government. This led to the birth of four kingdoms called Judicates (Latin: Judicati; Sardinian: Judicados) in the 8th through 10th centuries. Falling under papal influence, Sardinia became the focus of the rivalry of Genoa and Pisa, the Judicates and the Crown of Aragon, which eventually subsumed the island as the Kingdom of Sardinia in 1324. The Kingdom was to last until 1718, when it was ceded to the Piedmontese House of Savoy; later, in 1861, it would thus become the Kingdom of Italy and finally in 1946 the Italian Republic.
passage: Kingdom of Sardinia
Although the ""Kingdom of Sardinia and Corsica"" could be said to have started as a questionable and extraordinary "de jure" state in 1297, its "de facto" existence began in 1324 when, called by their allies of the Giudicato di Arborea in the course of war with the Republic of Pisa, James II seized the Pisan territories in the former states of Cagliari and Gallura and asserted his papally approved title. In 1347 CE Aragon made war on landlords of the Doria House and the Malaspina House, who were citizens of the Republic of Genoa, which controlled most of the lands of the former Logudoro state in north-western Sardinia, including the city of Alghero and the semiautonomous Republic of Sassari, and added them to its direct domains.