Until the 13th century, the Holy Roman Empire was powerful. Later, all the duchies and counties inside the Empire started to get more power. At the end, the emperors had little real power anymore, and the country existed only in name. The last emperor abolished the empire in 1806 during the Napoleonic Wars.