Since Bernard's father Pepin had five legitimate daughters and one illegitimate son, Bernard, Bernard's grandfather Charlemagne let Bernard inherit the throne after his father's death.
After Charlemagne died, things were still good with Charlemagne's successor, Louis the Pious, until 817 when Louis wrote up his legacy giving the bulk of the Empire to his son Lothair I but leaving Italy to Bernard. Bernard would be a vassal to Lothair which was essentially the same situation as between Bernard and Louis. Bernard may have worried that Louis' second wife wanted to give some of Bernard's land to her son Charles the Bald. Bernard plotted against his uncle Louis and Louis found out about it. Bernard and others were tried at Aix-la-Chapelle and sentenced to death. Out of mercy Louis decided instead of putting them to death he would simply blind then with red hot pokers. Bernard died from complications two days later. Italy was given to Lothair.
Bernard's uncle and cousin, Louis and Lothair were also ancestors of ours.