Dashed left edge = started before May 822 ·
Dashed right edge = ongoing beyond May 822
Events in May 822 3
770 – 822Al-Hakam I (770-822)Died 21 May 822, aged 52Al-Hakam I ruled as the third Umayyad Emir of Córdoba from 796 until his death, overseeing al-Andalus through a period of internal revolts and consolidation of central authority. He suppressed rebellions in Toledo and Córdoba, including the violent "Day of the Ditch" massacre of rebellious nobles. He was succeeded by his son Abd al-Rahman II.
822Tang and Tibetan Empire swear peace oath in LhasaChinese envoys formalize a treaty ending decades of border warA Tang Chinese delegation led by Liu Yuanding traveled to Lhasa to exchange oaths confirming a peace treaty with the Tibetan Empire, following reciprocal oaths sworn in Chang'an the previous year. The agreement fixed the border between the two empires and ended a long period of warfare in Central Asia. Its terms were later inscribed on stone pillars erected in Lhasa and at the Tibetan-Chinese frontier.
822Abd al-Rahman II becomes Emir of CórdobaUmayyad succession in Islamic SpainFollowing the death of his father Al-Hakam I, Abd al-Rahman II ascended as Emir of Córdoba, ruling the Umayyad emirate of al-Andalus. His reign expanded the administration, patronized scholarship and the arts, and strengthened Córdoba's standing as a center of Islamic culture.