 The Diocese of Macerata was established by Pope John XXII on 18 November 1320, in the Bull "Sicut ex debito", which also suppressed the diocese of Recanati.The "castrum Maceratae" was raised to the status of a city, and its territory, which was partly in the diocese of Camerino and partly in the diocese of Fermo, was detached from those two dioceses and included in the new diocese of Macerata.The parish church of S. Giuliano in Macerata was elevated to the status of a cathedral, and the seat of the bishop of Macerata installed in it.