Question: Who were Charlemagne's two sons?

Carloman I




Carloman I, also Karlmann (28 June 751 – 4 December 771) was king of the Franks from 768 until his death in 771. He was the second surviving son of Pepin the Short and Bertrada of Laon and was a younger brother of Charlemagne. His death allowed Charlemagne to take all of Francia and begin his expansion into other kingdoms.
Split of the Frankish kingdom
At the age of 3, he was, together with his father, Pepin the Short, and his elder brother, Charlemagne, anointed King of the Franks and titled "Patrician of the Romans" by Pope Stephen II, who had left Rome to beg the Frankish King for assistance against the Lombards.[1] Carloman and Charlemagne each inherited a half of the Kingdom of the Franks upon Pepin's death. His share was based in the centre of the Frankish Kingdom, with his capital at Soissons, and consisted of the Parisian basin, the Massif Central, the Languedoc, Provence, Burgundy, southern Austrasia, Alsace and Alemannia; the regions were poorly integrated and surrounded by those bequeathed to Charlemagne, and, although Carloman's territories were easier to defend than those of Charlemagne, they were also poorer in income.[2]
It is commonly agreed that Carloman and Charlemagne disliked each other, although the reasons behind this are unclear: some historians suggest that each brother considered himself rightfully to be the sole heir of their father – Charlemagne as the elder child, Carloman as the legitimate child[3] (Charlemagne is sometimes claimed to have been born a bastard in 742, a claim not always accepted).[2] Be that as it may, Pepin the Short's disposal of his kingdom appears to have exacerbated the bad relations between the pair, since it required co-operation between the pair and left both feeling cheated.[3]




Carolingian dynasty
Pippinids
Pippin the Elder (c. 580–640)
Grimoald (616–656)
Childebert the Adopted (d. 662)
Arnulfings
Arnulf of Metz (582–640)
Ansegisel (d. 662 or 679)
Chlodulf of Metz (d. 696 or 697)
Pepin of Herstal (635-714)
Grimoald II (d. 714)
Drogo of Champagne (670–708)
Theudoald (d. 741)
Carolingians
Charles Martel (686–741)
Carloman (d. 754)
Pepin the Short (714–768)
Carloman I (751–771)
Charlemagne (742–814)
Pepin the Hunchback (768–811)
Charles the Younger (772–811)
Pepin of Italy (773–810)
Louis the Pious (778–840)
Pepin I of Aquitaine (797–838)
After the Treaty of Verdun (843)
Lothair I, Holy Roman Emperor
(795–855; Middle Francia)
Charles the Bald (823–877)
(West Francia)
Louis the German (804–876)
(East Francia)vt
Competition with Charlemagne
Carloman's reign proved short and troublesome. The brothers shared possession of Aquitaine, which broke into rebellion upon the death of Pepin the Short; when Charlemagne campaigned to put down the revolt, Carloman led his own army to assist. The two quarreled at Moncontour, near Poitiers, and Carloman withdrew.[4] This, it had been suggested, was an attempt to undermine Charlemagne's power, since the rebellion threatened  Charlemagne's rule. Charlemagne crushed the rebels, whilst Carloman's behaviour had damaged his own standing amongst the Franks.[5][6]  Relations between the two then degenerated further, requiring the mediation of their mother, Bertrada, who appears to have favoured Charlemagne, with whom she would live out her widowhood.[6]
In 770, his mother Bertrada began a series of diplomatic offensive to encircle Carloman. Charlemagne had married Desiderata, the daughter of the Lombard king Desiderius in Italy, which created an alliance between Charlemagne and the Lombards; Bertrada had also secured for Charlemagne the friendship of Tassilo, Duke of Bavaria, her husband's nephew; she had even attempted to secure Papal support for the marriage by arranging for Desiderius to cede certain territories to Rome, to which the Papacy laid claim. Although Pope Stephen III remained hostile to an alliance between the Franks and the Lombards in theory, in reality, he was deeply conflicted between the threat the Lombards posed to him and the chance to dispose of the anti-Lombard Christopher the Primicerius, the dominant figure at the Papal court.[7]
These maneuvers had been favorable to the Franks in general, but posed serious threats to Carloman's position. He had been left without allies: he attempted to use his brother's alliance with the Lombards to his own advantage in Rome, offering his support against the Lombards to Stephen III and entering into secret negotiations with the Primicerius, Christopher, who has been isolated by the Franco-Lombard rapprochement; but after the murder of Christopher by Desiderius, Stephen III gave his support to the Lombards and Charlemagne. Carloman's position was rescued, however, by Charlemagne's sudden repudiation of his Lombard wife, Desiderius' daughter. Desiderius, outraged and humiliated, appears to have made an alliance with Carloman in opposition to Charlemagne and the Papacy, which took the opportunity to declare itself against the Lombards.[8]
Death and legacy
Carloman died on 4 December 771, at the Villa of Samoussy; the death, sudden and convenient though it was, was set down to natural causes (a severe nosebleed is sometimes claimed as being at fault).[9][10] At the time of his death, he and his brother Charlemagne were close to outright war, which Charlemagne's biographer Einhard attributes to the miscounsel of Carloman's advisors.[9] Carloman was buried in Reims, but he was reburied in the Basilique Saint-Denis in the 13th century.
Carloman had married a beautiful Frankish woman, Gerberga, who according to Pope Stephen III was chosen for him, together with Charlemagne's concubine, Himiltrude, by Pepin the Short.[11] With Gerberga he had two sons, the older of whom was named Pepin after his grandfather, marking him according to Carolingian tradition as the heir of Carloman, and of Pepin the Short.[12] After Carloman's death, Gerberga expected her elder son to become King, and for herself to rule as his regent; however, Carloman's former supporters – his cousin Adalhard, Abbot Fulrad of Saint Denis and Count Warin  – turned against her, and invited Charlemagne to annex Carloman's territory, which he duly did.[13] Gerberga then fled (according to Einhard, "for no reason at all")[14] with her sons and Count Autchar, one of Carloman's faithful nobles, to the court of Desiderius, who demanded of the new Pope Hadrian I that he anoint Carloman's sons as Kings of the Franks.[15] Gerberga's flight ultimately precipitated Charlemagne's destruction of the Kingdom of the Lombards; he responded to Desiderius' support of Carloman's children, which threatened Charlemagne's own position, by sweeping into Italy and subjugating it. Desiderius and his family were captured, tonsured, and sent to Frankish religious houses; the fate of Gerberga and her children by Carloman is unknown, although it is possible that they, too, were sent by Charlemagne to monasteries and nunneries.[16]
Despite their difficult relationship, and the events following Carloman's death, Charlemagne would later name his second legitimate son 'Carloman' after his deceased brother. This had, perhaps, been a public gesture to honour the memory of the boy's uncle, and to quell any rumours about Charlemagne's treatment of his nephews. If so, it was swept away in 781, when Charlemagne had his son renamed as Pepin.[8]
Family

He had several children with Gerberga.
Pepin, Prince of the Franks (bef. 769)
unknown son (ca. 770)
Kunigunde or Auberge
Ida (ca.768 – ca.820), m. Eckbert II, count of Mersebourg
Charles, Illegitimate
Carloman, Illegitimate