Year 987 (CMLXXXVII) was a common year starting on Saturday (link will display the full calendar) of the Julian calendar.
The Zirids fail to reconquer the western part of the Maghrib, which they have recently lost to the Umayyads.
Kukulkan conquers Chichen Itza.
July 3 - Hugh Capet, Count of Paris, is elected and crowned King of France at Noyon in Picardy, by Adalbero (archbishop of Reims), becoming first monarch of the Capetian dynasty, which rules the country continuously until 1792.
In Portugal, al-Mansur takes Coimbra, lost to the Christians in 904. The renewed domination of the central andalusian authorities on the north of the Gharb al-Andalus, leads to the submission of the Christian counts of Portugal to Cordoba. But it also illustrates the limited ability of the Muslims to repopulate, or at least govern directly, these remote areas.
The population of Bari revolts against the Byzantines.
An extension of the Prayer Hall, Great Mosque of Córdoba, Córdoba, Spain, is made.
Liu Yong, Chinese poet of the Song dynasty
Consort Li (Zhenzong)
May 21 – King Louis V of France
Abu'l-Fawaris Ahmad ibn Ali, last Ikhshidid ruler (b. 957)
Beatrice of France, duchess regent of Upper Lorraine in 978-980.
987 Wikipedia (Text) CC BY-SA