Henry III, the son and successor of Conrad, was young, vigorous, and God-fearing; a noble prince called, like Charles and Otto the Great, to restore Rome, to deliver it from tyrants, and to reform the almost annihilated Church. For the papacy had been still further dishonored by Benedict IX. It seemed as if a demon from hell, in the disguise of a priest, occupied the chair of Peter and profaned the sacred mysteries of religion by his insolent courses.

Benedict IX, restored in 1038, protected by his brother Gregory, who ruled the city as senator of the Romans, led unchecked the life of a Turkish sultan in the palace of the Lateran. He and his family filled Rome with robbery and murder; all lawful conditions had ceased. Toward the end of 1044, or in the beginning of the following year, the populace at length rose in furious revolt; the Pope fled, but his vassals defended the Leonina against the attacks of the Romans. The Trasteverines remained faithful to Benedict, and he summoned friends and adherents; Count Gerard of Galeria advanced with a numerous body of horse to the Saxon gate and repulsed the Romans. An earthquake added to the horrors in the revolted city. The ancient chronicle which relates these events does not tell us whether Trastevere was taken by assault after a three-days' struggle, but merely relates that the Romans unanimously renounced Benedict, and elected Bishop John of the Sabina to the papacy as Sylvester III. John also owed his elevation to the gold with which he bribed the rebels and their leader, Girardo de Saxo. This powerful Roman had first promised his daughter in marriage to the Pope, and afterward refused her; for the Pope had not hesitated, in all seriousness, to sue for the hand of a Roman lady, a relative of his own. Her father lured him on with the hope of winning her, but required that Benedict should in the first place resign the tiara.

The Pope, burning with passion, consented and fulfilled his promise during the revolt of the Romans. He was mastered by the demon of sensuality; it was reported by the superstitious that he associated with devils in the woods and attracted women by means of spells. It was asserted that books of magic, with which he had conjured demons, had been found in the Lateran. His banishment meanwhile aroused the haughty spirit of his house, and anger at Gerard's treacherous conduct proved a further incentive to revenge. His numerous adherents still held St. Angelo, and his gold acquired him new friends. After a forty-nine days' reign, Sylvester III was driven from the apostolic chair, which the Tusculan reascended in March, 1045.

Benedict now ruled for some time in Rome, while Sylvester III found safety either within some fortified monument in the city or in some Sabine fortress, and continued to call himself pope. A beneficent darkness veils the horrors of this year. Hated by the Romans, insecure on his throne, in constant terror of the renewal of the revolution, Benedict eventually found himself obliged to abdicate. The abbot Bartholomew of Grotta Ferrata urged him to the step, but he unblushingly sold the papacy for money like a piece of merchandise. In exchange for a considerable income, that is to say, for the revenue of "Peter's pence" from England, he made over his papal dignities by a formal contract to John Gratianus, a rich archpriest of the Church of St. John at the Latin gate, on May 1, 1045.

Could the holiest office in Christendom be more deeply outraged than by a sale such as this? And yet so general was the traffic in ecclesiastical dignities throughout the world that when a pope finally sold the chair of Peter the scandal did not strike society as specially heinous.

John Gratian, or Gregory VI, set aside the canon law with a defiant courage which perhaps was only understood by the minority of his compatriots; he bought the papacy in order to wrest it from the hands of a criminal, and this remarkable Pope, although regarded as an idiot in that terrible period, was possibly an earnest and high-minded man. Scarcely had Peter Damian knowledge of this traffic when he wrote to Gregory VI on his elevation, rejoicing that the dove with the olive branch had returned to the ark. The Saint may have known the Pope personally and have been persuaded of his spiritual virtues. Even the chroniclers of the time, who represent him—assuredly with injustice—as so rude and simple that he was obliged to appoint a representative, are unable to fasten any crime upon him. The Cluniacs in France and the congregations of Italy all hailed his elevation as the beginning of a better time, and side by side with this simonist Pope a young and brave monk suddenly appears, who, after the heroic exertions of a lifetime, was to raise the degenerate papacy to a height hitherto undreamed of. Hildebrand first issues from obscurity by the side of Gregory VI; he became the Pope's chaplain, and this fact alone proves that Gregory was no idiot. How far Hildebrand's activity already extended, whether he had any share in Gregory's illegal elevation, we do not know; but in the "representative" spoken of by the chronicles, we may easily recognize the gifted young monk who was Gregory's counsellor, and who later took the name of Gregory VII in grateful recollection of his predecessor.

While Benedict IX pursued his wild career in Tusculum or Rome, Gregory VI remained Pope for nearly two years. His desire was to save the Church, which stood in need of a drastic reform—and which soon afterward obtained it. The papacy, lately a hereditary fief of the counts of Tusculum, was utterly ruined; the dominium temporale, the ominous gift of the Carlovingians, the box of Pandora in the hands of the Pope from which a thousand evils had arisen, had disappeared, since the Church could scarcely command the fortresses in the immediate neighborhood of the city. A hundred lords, the captains or vassals of the Pope, stood ready to fall upon Rome; every road was infested with robbers, every pilgrim was robbed; within the city the churches lay in ruins, while the priests caroused. Daily assassinations made the streets insecure. Roman nobles, sword in hand, forced their way into St. Peter's itself to snatch the gifts which pious hands still placed upon the altar.

The chronicler who describes this state of things extols Gregory for having repressed it. The captains, it is true, besieged the city, but the Pope boldly assembled the militia, restored a degree of order, and even conquered several fortresses in the district. Sylvester had apparently made an attempt on Rome; he was, however, defeated by Gregory's energy. The short and dark period of Gregory's pontificate was terrible, and his severity toward the robbers soon made him hated by the nobles and even by the equally rapacious cardinals.

Whatever he may have done under the influence of French and Italian monks to rescue the Church from its state of barbarous confusion, it was—as in the time of Otto the Great—by the German dictatorship alone that it could be saved. The exertions of Gregory VI soon ceased to bear any result; his means were exhausted, and his opponents gradually overpowered him. So utter was the state of anarchy that it is said that all three popes lived in the city at the same time: one in the Lateran, a second in St. Peter's, and a third in Santa Maria Maggiore.

The eyes of the better citizens at length turned to the King of Germany. The archdeacon Peter convoked a synod without consulting Gregory, and it was here resolved urgently to invite Henry to come and take the imperial crown and raise the Church from the ruin into which it had fallen.