قلعة دمشق
In August 1386, Khalid of Homs visited a local bedouin chief imprisoned in the Citadel of Damascus to seek support for the overthrow of the sultan and the installation of a caliphate, Barquq himself having overthrown the caliph al-Mutawakkil Muhammad ibn Abi Bakr in order to come to power. The chief suggested that Khalid speak with Ibn al-Himsi, the Citadel's top official with no relation to Khalid despite the similar-sounding name, as he would likely support the overthrow.