Pope Stephen IV was the bishop of Rome and ruler of the Papal States from June 816 to his death. Stephen belonged to a noble Roman family. In October 816, he crowned Louis the Pious as emperor at Rheims, and persuaded him to release some Roman political prisoners he held in custody. He returned to Rome, by way of Ravenna, sometime in November and died the following January.
Immediately after his consecration Stephen ordered the Roman people to swear fidelity to Emperor Louis, after which Stephen sent envoys to the emperor notifying him of his election, and to arrange a meeting between the two at the emperor's convenience. With Louis’ invitation, Stephen left Rome in August 816. Louis's nephew, King Bernard of Italy, was ordered to accompany Stephen to the emperor and the two crossed the Alps together. In early October, the pope and the emperor met at Rheims, where Louis prostrated himself three times before Stephen. At Mass on Sunday, 5 October 816, Stephen anointed Louis as emperor, placing a crown on his head that was claimed to belong to Constantine the Great. At the same time he also crowned Louis’ wife, Ermengarde of Hesbaye, and saluted her as augusta. This event has been seen as an attempt by the papacy to establish a role in the creation of an emperor, which had been placed in doubt by Louis' self-coronation in 813. Louis gave Stephen a number of presents, including an estate of land granted to the Roman church. They also renewed the pact between the popes and the kings of the Franks, confirming the privileges of the Roman church, and the continued existence of the recently emerged Papal States. Stephen also raised Bishop Theodulf of Orléans to the rank of archbishop, and had Louis release from their exile all political prisoners originally from Rome who had been held by the emperor resulting from the conflict that plagued the early part of Pope Leo III's reign. It is also believed that Stephen asked Louis to enforce reforms for the clergy who lived under the Rule of Chrodegang. This included ensuring that the men and women who lived there were to stay in separate convents, and that they were to hold the houses under a title of common property. He also regulated how much food and wine they could consume. After visiting Ravenna on his way back from Rheims, Stephen returned to Rome before the end of November 816. Here, he apparently discontinued Leo III's policies of favouring clergy over lay aristocracy. After holding the traditional ordination of priests and bishops in December and confirming Farfa Abbey’s possessions on condition that every daythe monks would recite one hundredKyrie eleison as well as a yearly payment to the Roman Church of ten golden solidi, Stephen died on 24 January 817. He was buried at St. Peter's, and was succeeded by Paschal I.