Pepin's father
Charles Martel died in 741. He divided the rule of the Frankish kingdom between Pepin and his elder brother,
Carloman, his surviving sons by his first wife: Carloman became Mayor of the Palace of Austrasia, Pepin became Mayor of the Palace of Neustria.
Grifo, Charles's son by his second wife, Swanahild (also known as Swanhilde), demanded a share in the inheritance, but he was
besieged in
Laon, forced to surrender and imprisoned in a
monastery by his two half-brothers. In the Frankish realm, the kingdom's unity was essentially connected with the king's person. So Carloman, to secure this unity, raised the Merovingian Childeric to the throne (743). Then, in 747, Carloman resolved to enter a monastery after years of consideration. This left Francia in the hands of Pepin as sole mayor of the palace and
dux et princeps Francorum. At the time of Carloman's retirement, Grifo escaped his imprisonment and fled to Duke
Odilo of Bavaria, who was married to Hiltrude, Pepin's sister. Pepin put down the renewed revolt led by his half-brother and successfully restored the kingdom's boundaries. Under the reorganization of Francia by Charles Martel, the
dux et princeps Francorum was the commander of the kingdom's armies, in addition to his administrative duties as mayor of the palace. ==First Carolingian king == As mayor of the palace, Pepin was formally subject to the decisions of
Childeric III, who had only the title of king, with no power. Since Pepin had control over the magnates and had the power of a king, he now addressed to
Pope Zachary a suggestive question: :
In regard to the kings of the Franks who no longer possess the royal power: is this state of things proper? Hard pressed by the
Lombards, Pope Zachary welcomed this move by the Franks to end an intolerable condition and lay the constitutional foundations for exercising royal power. The Pope replied that such a state of things is not proper. Under these circumstances, the wielder of actual power should be called King. After this decision, Childeric III was deposed and confined to a monastery. He was the last of the Merovingians. Pepin was then elected King of the Franks by an assembly of Frankish nobles, with a large portion of his army on hand. The earliest account of his election and anointing is the
Clausula de Pippino, written around 767. Meanwhile, Grifo continued his rebellion but was eventually killed in the battle of
Saint-Jean-de-Maurienne in 753. Pepin was assisted by his friend
Vergilius of Salzburg, an Irish monk who probably used a copy of the "
Collectio canonum Hibernensis" (an Irish collection of canon law) to advise him to receive royal unction to assist his recognition as king. Anointed a first time in 751 in
Soissons, Pepin added to his power after
Pope Stephen II traveled to
Paris to anoint him a second time in a lavish ceremony at the Basilica of St Denis in 754, bestowing upon him the additional title of Patricius Romanorum (Patrician of the Romans). This was the first recorded crowning of a civil ruler by a Pope. As life expectancies were short in those days, and Pepin wanted family continuity, the Pope also anointed Pepin's sons, Charles (eventually known as Charlemagne), who was 12, and Carloman, who was 3. The significance of the anointment ceremony is visible in that the Pope newly adopted it and was unheard of in Rome. This, together with granting the title of Patrician of the Romans, which was connected to the role of (protector of oppressed citizens), meant that Pepin was now designated as the defender of the Church. ==Expansion of the Frankish realm==