The 840s decade ran from January 1, 840, to December 31, 849.
Events
840
By place
Europe June 20 – Louis the Pious, Emperor of the Romans and King of the Franks, falls ill and dies at his hunting lodge, on an island in the Rhine, near the Ingelheim Imperial Palace in Francia, while suppressing a revolt. He proclaims his eldest son Lothair I as his successor as Emperor. Lothair tries to seize all the territories of his late grandfather Charlemagne. Louis' son by his second wife, Charles, 17, becomes King of the Franks, and joins with his half-brother Louis the German in resisting Lothair.
British Isles King Wigstan of Mercia in England, grandson of former ruler Wiglaf (d. 839), declines his kingship in preference of the religious life. He asks his widowed mother, Princess Ælfflæd, to act as regent. A nobleman of the line of the late king Beornred, named Berhtric, wishes to marry her but, as he is a relative, Wigstan refuses the match, and is murdered by followers of Berhtric at Wistow, Leicestershire. He is buried at Repton Abbey, and later revered as a saint. The Mercian throne is seized by Berhtric's father, Beorhtwulf. Vikings from Norway capture Dublin and establish a Norse kingdom in Ireland, and also at about this date make their first overwintering at Lough Neagh in the north of Ireland.
Asia February 10 – Chinese Tang dynasty Emperor Wenzong (Li Ang) dies after a 13-year reign. Through the intervention of his powerful palace eunuchs, he is succeeded by his brother Wuzong. June – The 840 Erzurum earthquake takes place in the city of Qaliqala (modern-day Erzurum in Turkey) (probable date). The Yenisei Kirghiz settle along the Yenisei River, and sack with a force of around 80,000 horsemen the Uyghur capital, Ordu-Baliq (driving the Uyghurs out of Mongolia). This ends the Uyghur Khaganate.
By topic
Religion Nobis becomes bishop of St. David's, in the Welsh Kingdom of Dyfed (approximate date).
Historiography Completion in Japan of the Nihon Kōki, third book of the Rikkokushi. This includes the earliest record of cherry blossom at the Imperial Court in Kyoto (in 812) and of tea brought from China and served to the Emperor (in 815).
841
By place
Europe June 25 – Battle of Fontenay: Frankish forces of Emperor Lothair I, and his nephew Pepin II of Aquitaine, are defeated by allied forces of King Louis the German, and his half-brother Charles the Bald, at Fontenoy (Eastern France), in a civil war among the three surviving sons of the former emperor Louis the Pious. A total of 40,000 men are killed, including the Frankish nobles Gerard of Auvergne and Ricwin of Nantes, fighting on the side of Charles. Summer – Vikings sail up the River Seine and devastate the city of Rouen in Normandy. They burn the Benedictine monastery of Jumièges Abbey; 68 captives are taken, and returned on payment of a ransom, by the monks of St. Denis.
Ireland The town of Dyflin (meaning "Black Pool") or Dublin (modern Ireland) is founded by Norwegian Vikings, on the south bank of the River Liffey. The settlement is fortified with a ditch and an earth rampart, with a wooden palisade on top. The Norsemen establish a wool weaving industry, and there is also a slave trade. An artificial hill is erected, where the nobility meets to make laws and discuss policy.
Byzantine Empire Constantine Kontomytes, Byzantine general (strategos) of the Thracesian Theme, inflicts a severe defeat on the Cretan Saracens. He leads a Byzantine expeditionary force, to raid the monastic community near Mount Latros (modern Turkey). Venice sends a fleet of 60 galleys (each carrying 200 men) to assist the Byzantines in driving the Arabs from Crotone, but the attack fails. Muslim troops conquer the city of Brindisi (approximate date).
Abbasid Caliphate A pro-Umayyad rebellion, led by al-Mubarqa in Palestine, breaks out against caliph al-Mu'tasim of the Abbasid Caliphate (ending in 842).
Asia In the Chinese capital of Chang'an, the West Market (and East Market) are closed every night one hour and three quarters before dusk (by government order); the curfew is signaled by the sound of 300 beats to a loud gong. After the official markets have been closed for the night, small night markets in residential areas thrive with plenty of customers, despite government efforts to shut them down. With the decline of the government's authority (by mid 9th century), this edict (like many others) is largely ignored, as urban dwellers keep attending the night markets regardless. December 17 – Comet X/841 Y1 is first sighted in Chang'an by the Japanese monk Ennin.
842
By place
Byzantine Empire January 20 – Emperor Theophilos dies of dysentery at Constantinople, after a 12-year reign in which he expended much effort defending the eastern frontier against the invading Muslim Arabs. Theophilos is succeeded by his 2-year-old son Michael III, with his mother Theodora as regent and the 'temporary' sole ruler of the Byzantine Empire. February 19 – The Medieval Iconoclastic Controversy ends, as a council in Constantinople formally reinstates the veneration of icons in the churches.
Europe February 13 – Last reported sighting of the comet X/841 Y1 according to the Annals of Fontenelle. February 14 – Oaths of Strasbourg: King Louis the German, ruler of East Francia, and his half-brother Charles the Bald, ruler of West Francia, meet with their armies at Strasbourg. They agree to swear allegiance (recorded in vernacular languages) to each other, and to support each other against their brother Lothair I (nominal emperor of all the Frankish kingdoms and the Holy Roman Empire). March 20 – King Alfonso II of Asturias (Northern Spain) dies after a 50-year reign, in which he undertook numerous campaigns against the Muslim armies of the Umayyad Emirate of Córdoba, and allied himself with the late Charlemagne. The childless Alfonso chooses Ramiro I, son of former king Bermudo I, as his successor.
Britain Uurad of the Picts dies after a 3-year reign, and is succeeded by his son Bridei VI, who contests his power with rival groups, led by Bruide son of Fokel and Kenneth MacAlpin. Vikings attack the Irish monastery at Clonmacnoise from bases in Ireland.
Abbasid Caliphate
January 5 – Caliph Al-Mu'tasim dies at Samarra (modern Iraq), after an eight year reign. He is succeeded by his son Al-Wathiq, as ruler of the Abbasid Caliphate.
843
By place
… excerpt ends here. Continue reading the full article.

