According to a historical testimony by Landolfo Luniore (1077-1137), known as Landolfo di San Paolo, in his "Historia Mediolanensis" [History of Milan]"," it seems that the church of "Sancta Maria ad Portam" already existed before the 12th century in the same place where it stands today.