After the Lombard invasion of Italy, the city remained nominally Byzantine, but in reality, the popes pursued a policy of equilibrium between the Byzantines, the Franks, and the Lombards. In 729, the Lombard king Liutprand donated the north Latium town of Sutri to the Church, starting its temporal power. In 756, Pepin the Short, after having defeated the Lombards, gave the Pope temporal jurisdiction over the Roman Duchy and the Exarchate of Ravenna, thus creating the Papal States. Since this period, three powers tried to rule the city: the pope, the nobility (together with the chiefs of militias, the judges, the Senate and the populace), and the Frankish king, as king of the Lombards, patricius, and Emperor. These three parties (theocratic, republican, and imperial) were a characteristic of Roman life during the entire Middle Ages. On Christmas night of 800, Charlemagne was crowned in Rome as emperor of the Holy Roman Empire by Pope Leo III: on that occasion, the city hosted for the first time the two powers whose struggle for control was to be a constant of the Middle Ages.