The Barmakids (Persian: Barmakiyân; Arabic: al-Baramikah), also spelled Barmecides, were an influential Iranian family from Balkh, where they were originally hereditary Buddhist leaders (in the Nawbahar monastery), and subsequently came to great political power under the Abbasid caliphs of Baghdad. Khalid, the son of Barmak, became the chief minister (vizier) of Al Saffah, the first Caliph of the Abbasid dynasty. His son Yahya aided Harun al-Rashid in capturing the throne and rose to power as the most powerful man in the Caliphate. The Barmakids were remarkable for their majesty, splendor and hospitality. They are mentioned in some stories of the One Thousand and One Nights.