Berengar I of Italy (850–924) located his headquarters in Monza. A fortified castrum was constructed to resist the incursions of the Hungarians. Under Berengar's reign, Monza enjoyed a certain degree of independence: it had its own system of weights and measures, and could also seize property and mark the deeds with their signatures. Berengar was very generous evident by the donation of numerous works to the Monza Cathedral, including the famous cross, and by giving large benefits to its 32 canons and other churches.