After the fall of the Umayyads, the first Muslim dynasty, the victorious Abbasid rulers wanted their own capital from which they could rule. They chose a site north of the Sassanid capital of Ctesiphon, and on 30 July 762 the caliph Al-Mansur commissioned the construction of the city. It was built under the guidance of the Barmakids. Mansur believed that Baghdad was the perfect city to be the capital of the Islamic empire under the Abbasids. The Muslim historian al-Tabari reported an ancient prediction by Christian monks that a lord named Miklas would one day build a spectacular city around the area of Baghdad. When Mansur heard the story, he became very joyful, for legend has it, he was called Miklas as a child. Mansur loved the site so much he is quoted saying: "This is indeed the city that I am to found, where I am to live, and where my descendants will reign afterward".