Charlemagne's politics and plans failed, which led to low self-esteem. His last years were spent in bed in deep depression. He died in 814, leaving his kingdom to his only son, Louis the Pious. The descendants of Charlemagne are called "Carolingians". His family line died out in Germany in 911 and in France in 987.