 In the Roman period, the residential nucleus developed considerably; given the proximity to Bergamo, it is assumed that those settlements were military outposts for the city.At the end of Roman domination, it is thought that Treviolo, Albegno and Curnasco went through a phase of depopulation, which ended with the arrival of the Lombards, who established Curnasco, cited in documents of the year 774.Of the 871 are the acts which refer to Albineas (later translated as early as 964 in Albigna), while Trevilio appears in papers dating back to 910 (only in 1174 would it appear as Triviliolo).