Pepin II, called the Younger (823 – after 864 in Senlis), was King of Aquitaine from 838 as the successor upon the death of his father, Pepin I. Pepin II was eldest son of Pepin I and Ingeltrude, daughter of Theodobert, count of Madrie. He was a grandson of the Emperor Louis the Pious. Pepin was elected king upon his father's death by the nobles of Aquitaine who were keen to establish their independence from the Empire. However, his grandfather Louis the Pious had appointed his son Charles the Bald, Pepin's uncle who was about the same age, as King of Aquitaine in 832 when he (nominally) dispossessed Pepin’s father Pepin I, and eventually contested the kingship on Pepin I’s death in 838. Pepin had thereafter been at war with his half-uncle Charles. Louis the Pious fully disinherited him at Crémieu and then at Worms in two subsequent divisions of the empire. Louis demanded the Aquitainians send Pepin to Aachen to learn the ways of good governance, which they refused. Pepin was in total control of Aquitaine until 841 when he went to his uncle Lothair I's aid at the Battle of Fontenoy (a year after his aging grandfather died at age 62). Pepin defeated Charles the Bald, but Lothair was routed by Louis the German, another son of Emperor Louis. Pepin returned to Aquitaine and continued war with Charles the Bald. In 844 Pepin made the fatal error of asking for help from Jarl Oscar, a Viking adventurer. He guided Oscar's forces up the Garonne to Toulouse, giving them an opportunity to scout the land for plundering. In 845 Pepin welcomed Seguin of Bordeaux who had defected from the Emperor's side. Pepin made him dux Wasconum, to help his fight against Sans II Sancion of Gascony, who had been at war with his father Pepin I. Bordeaux, the largest city in Aquitaine and then controlled by Charles, was seized by Oscar in 847, with the aid of disaffected citizens. These were either Jews or partisans of Pepin. The loss of this city to a heathen pirate, coupled with Pepin's heavy drinking and loose living, eroded his support in the nobility until 848 he was left with no support. His younger brother, Charles then tried to claim the Aquitainian Kingdom for himself. Pepin II's rule finally ended in 851 or 852 when he was captured by Sans II Sancion, and