 At later times it was a possession of the House of Este, a Papal possession, and part of the Duchy of Modena and Reggio, during which period the castle was used as a prison.Among the churches in the community are