During the Late Middle Ages, after the fall of the northern part of the Lombard Kingdom to Charlemagne, the term Longobardia was used to mean Northern Italy within the medieval Kingdom of Italy. As the area became partitioned in regional states the term Lombardy subsequentially shifted to indicate only the area of the Duchies of Milan, Mantua, Parma and Modena and later only to the area around Milan.