 During the 13th century, the process of the town being released from vassalage and instituted as a proper rural "comune" took place.It later passed, along with the rest of Milanese territory, under the rule of the Visconti and then the Sforza.On April 5, 1570, Cardinal Carlo Borromeo, Archbishop of Milan, paid a visit to Albairate stimulating a spiritual renewal of the parish and starting the social development of the country.