Duchy of Milan
The city was part of the Duchy of Milan and later the Kingdom of Lombardy–Venetia prior to Italian unification bringing it into the Kingdom of Italy.