Stephen is asked in 770 to confirm the election of Michael, a layperson, as Archbishop of Ravenna.
However, Michael, in league with the Lombard king Desiderius, and the Duke of Rimini have imprisoned Leo, who had been elected first.
Stephen refuses to confirm Michael’s election; citing the conventions of the Lateran council, he sends letters and envoys to Michael, demanding that he stand down.
Michael refuses, and the standoff will continue for over a year, until the arrival of the Frankish ambassador in Ravenna along with the Papal legates encourages Michael’s opponents to overthrow him, and send him to Rome in chains.
Leo follows soon after, when Stephen consecrates him as Archbishop of Ravenna.
Throughout his pontificate, Stephen is apprehensive about the expansionist plans of the Lombards.
Placing his hope in the Franks, he had attempted to mediate in the quarrels between Charlemagne and Carloman, which are only helping the Lombard’s cause in Italy.
He had helped them reconcile in 769, and pressured them to support the still infant Papal States, by reminding them of the support which their father had given the Papacy in the past.
He had also begged them to intercede on his behalf by entering into discussions with the Lombards.
Consequently, an embassy is sent to the Lombard king, Desiderius, in 770, which includes Charlemagne’s mother, Bertrada of Laon.
Their intervention achieves a result favorable to the Papacy by restoring to the pope the parts of Benevento that the popes claim.
To Stephen’s consternation however, Desiderius and Bertrada enter into discussions about a possible marriage between Desiderius’ daughter, Desiderata, and one Bertrada’s sons.
It is also possible that discussions took place around the marriage of Charlemagne’s sister, Gisela to Desiderius’ son, Adalgis.
Stephen therefore writes to both Charlemagne and Carloman, protesting about the proposed alliance.
Apart from noting that both men ware already married, he reminds them of their promises to previous popes, that they would consider the pope’s enemies as their enemies, and that they had promised to Saint Peter to resist the Lombards and restore the rights of the Church.
His pleas fell on deaf ears, and Charlemagne marries Desiderata in 770, temporarily cementing a familial alliance with the Lombards.