The Donation of Pepin in 756 provided a legal basis for the erection of the Papal States, which extended the temporal rule of the Popes beyond the duchy of Rome.
In 751, Aistulf, king of the Lombards, conquered what remained of the exarchate of Ravenna, the last vestige of the Roman Empire in northern Italy. In 752, Aistulf demanded the submission of Rome and a tribute of one gold solidus per capita. Pope Stephen II and a Roman envoy, John the Silentiary, tried by negotiations and bribes to convince Aistulf to back down. When this failed, Stephen sent envoys to Pepin the Short, king of the Franks, with a letter requesting his support and the provision of a Frankish escort so that Stephen could go to Pepin to confer. At the time, the Franks were on good terms with the Lombards.
In 753, John the Silentiary returned to Rome with an imperial order (iussio) that Pope Stephen accompany him to meet Aistulf in the Lombard capital of Pavia. The pope duly requested and received a safe-conduct from the Lombards. With the Frankish envoys who had by then arrived, the pope and the imperial envoy set out for Pavia on 14 October 753. The Roman magnates did not accompany them past the border. At Pavia, Aistulf denied the requests of Stephen and John to return the conquered exarchate to the empire, but he did not prevent Stephen from continuing with the Frankish envoys to the court of Pepin. John the Silentiary did not accompany them. This was the first time a pope had crossed the Alps.
Pope Stephen met Pepin the Short (who had been crowned at Soissons with Zachary's blessing) at Quierzy-sur-Oise in 753. The Pope was first met by Pepin's eleven-year-old son, Charles, who conveyed him to his father at Ponthion. At Quierzy the Frankish nobles finally gave their consent to a campaign in Lombardy. Roman Catholic tradition asserts that it was then and there that Pepin executed in writing a promise to convey to the Papacy certain territories that were going to be wrested from the Lombards. No original document has been preserved, but later 8th century sources quote from it and the Fragmentum Fantuzzianum probably relied on it.