Answer
Lothair I was only 23 when he became Holy Roman Emperor. However, he was not an inexperienced ruler. He had already been King of Lotharingia since he was just 11 years old, and he had served as co-emperor with his father, Louis the Pious, since he was 17.