Dashed left edge = started before this timeline ·
Dashed right edge = still ongoing
Events in 840 7
778 – 840Louis the Pious (778-840)Died 20 June 840, aged 62Louis the Pious was the son and successor of Charlemagne as Frankish emperor, ruling from 814. His reign was marked by repeated attempts to divide his territories among his sons, provoking rebellion and civil war. His death at Ingelheim triggered a succession struggle between his sons Lothair, Louis the German, and Charles the Bald.
809 – 840Emperor Wenzong of Tang (809-840)Died 10 January 840, aged 30Li Ang reigned as the fourteenth emperor of China's Tang dynasty from 827. His rule was dominated by the failed Sweet Dew Incident of 835, a plot to purge the court eunuchs that left him politically powerless for the rest of his reign. He died without an adult heir and was succeeded by his uncle, Emperor Wuzong.
840 – 867Michael III (840-867)Died 24 September 867, aged 27Byzantine emperor assassinated in his bedchamber by his co-emperor and former favorite Basil I, who then became sole ruler. Michael had nominally reigned since infancy under regents before taking personal control as an adult. His murder ended the Amorian dynasty and installed the Macedonian dynasty, which would rule Byzantium for nearly two centuries.
840 – 894Svatopluk I (840-894)Died 894, aged about 54Svatopluk I ruled Great Moravia at the height of its territorial power, dominating much of Central Europe through alliances and conquest. His death in 894 left the throne divided between his sons Mojmir II and Svatopluk II, whose rivalry fatally weakened the state. Within a generation the Moravian realm collapsed under Magyar pressure.
840Uyghur Khaganate collapsesKyrgyz invasion topples the steppe empireThe Yenisei Kyrgyz overran the Uyghur Khaganate's capital at Ordu-Baliq, ending Uyghur dominance over the Mongolian steppe. Surviving Uyghur groups fled south and west, eventually settling in the Tarim Basin and Gansu corridor. The collapse reshaped the political order of Inner Asia for generations.
840Viking raiders clash with Wessex forcesMixed outcomes at Southampton and PortlandA Danish fleet of some thirty ships was repelled with heavy losses by the thegn Wulfheard at Southampton. A separate Viking force later defeated and killed Ealdorman AEthelhelm of Dorset at Portland. The clashes were part of an intensifying pattern of Viking raids along the Wessex coastline.
840Carolingian succession war eruptsLouis the Pious's sons go to war over the empireFollowing the death of Emperor Louis the Pious, his three surviving sons Lothair I, Louis the German, and Charles the Bald began open conflict over the division of the Frankish Empire. The dispute escalated into civil war, culminating the following year in the Battle of Fontenoy. The quarrel ultimately produced the Treaty of Verdun in 843, which split the empire into three kingdoms.