<human>:  Who was the last emperor of the Holy Roman Empire?
<bot>: The Holy Roman Empire was dissolved in 1806 by Napoleon Bonaparte. The Holy Roman Empire was founded by Charlemagne in 800 A.D. and was the precursor to the modern day German Empire. Charlemagne was the first Holy Roman Emperor, and he was crowned by Pope Leo III in Rome in 800 A.D.