 Complete the following phrase:  The territory of Ogliastra, part of the Judicate of Cagliari as a curatoria until 1258 and then of the Judicate of Gallura 1288, and Pisa 1288-1324, constituted until the 