sentences:  The historical diocese of Cagli was renamed in 1819.Pergola, which had been in the diocese of Urbino, was raised to the rank of an episcopal city and united to the See of Cagli.Bishop Egidio (1243–59) had many controversies with the municipality of Gubbio.