▁had ▁city ▁walls , ▁similar ▁to ▁some ▁nearby ▁communes ▁such ▁as ▁B inas co ▁and ▁Ros ate . ▁Histor ians ▁seem ▁to ▁suggest ▁that ▁such ▁walls ▁were ▁fl atten ed ▁in ▁ 1 7 8 3 . ▁ ▁Rel ations hip ▁with ▁Milan ▁and ▁P avia ▁▁ ▁Cas or ate ▁Pr imo ▁has ▁had ▁an ▁interesting ▁relationship ▁with ▁both ▁cities , ▁being ▁more ▁or ▁less ▁ge ograph ically ▁equ id istant ▁between ▁the ▁two . ▁Histor ically , ▁Milan ▁and ▁P avia ▁have ▁fought ▁over ▁control ▁of ▁the ▁village , ▁due ▁to ▁its ▁fert ile ▁terrain , ▁bigger ▁population ▁compared ▁to ▁neighbour ing ▁villages , ▁and ▁its ▁elegant ▁man or ▁houses . ▁ ▁From ▁a ▁religious ▁point ▁of ▁view , ▁Cas or ate ▁has ▁almost ▁always ▁been ▁under ▁Milan . ▁Today , ▁Cas or ate ▁Pr imo ▁is ▁part ▁of ▁the ▁Roman ▁Catholic ▁Arch di oc ese ▁of ▁Milan , ▁and ▁as ▁such ▁practices ▁the ▁Amb ros ian ▁r ite . ▁However , ▁from ▁an ▁administrative ▁perspective , ▁Milan ▁has ▁histor ically ▁been ▁under ▁P avia ' s ▁authority , ▁such ▁as ▁under ▁the ▁Duch y ▁of ▁Milan ' s ▁Province ▁of ▁P avia , ▁and ▁was ▁part ▁of ▁the ▁Camp agna ▁S op ran a . ▁ ▁Despite ▁being ▁part ▁of ▁the ▁Province ▁of ▁P avia , ▁the ▁people ▁of ▁Cas or ate ▁Pr imo ▁speak ▁cas or at ese , ▁which ▁is ▁a ▁variant ▁of ▁the ▁Milan ese ▁dialect ▁of ▁In sub ric , ▁as ▁opposed ▁to ▁the ▁Pav ese ▁dialect