The Burji or Circassian Mamluk () dynasty of Circassian origin, ruled Egypt from 1382 until 1517, during the Mamluk Sultanate. The Circassian community in Cairo especially flourished during this time. Political power-plays often became important in designating a new sultan. During this time Mamluks fought Timur and conquered Cyprus. Constant bickering may have contributed to the ability of the Ottomans to challenge them. Their name means 'of the tower', referring to them ruling from the Citadel east of Cairo. History From 1250, Egypt had been ruled by the first Mamluk dynasty, the mostly Cuman-Kipchak Turkic Bahri dynasty. In 1377 a revolt broke out in Syria which spread to Egypt, and the government was taken over by the Circassians Barakah and Barquq; Barquq was proclaimed sultan in 1382, ending the Bahri dynasty. He was expelled in 1389 but recaptured Cairo in 1390. Early on, the Zahiri Revolt threatened to overthrow Barquq though the conspiracy was discovered before agitators could mobilize. Permanently in power, he founded the Burji dynasty. Faced with a common enemy, Timur, Barquq joined with Bayezid I and Toktamish in a combined resistance and executed Timur's peace envoys. In the following months Timur was engaged in Georgia and unable to respond to Barquq's actions, while Barquq had died by 1399. In 1401, Timur invaded Syria and sacked Aleppo and Damascus. Syria was regained by Barquq's son, sultan Nasir-ad-Din Faraj, after Timur died in 1405, but Faraj continually faced rebellions from the emirs there and he was forced to abdicate in 1412. In 1421 Egypt was attacked by the Kingdom of Cyprus, and although the Egyptians were unable to capture the island they forced the Cypriotes to acknowledge the suzerainty of the Egyptian sultan Barsbay. During Barsbay's reign Egypt's population was greatly reduced from what it had been a few centuries before, with only 1/5 the number of towns. He frequently raided Asia Minor, but died in 1438. During the reign of Sayf ad-Din Jaqmaq an attempt to conquer Rhodes in 1444 from the Knights of St. John was repelled. Sayf ad-Din Inal came to power in 1453 and had friendly relations with the Ottoman sultan Mehmed II, who captured Constantinople later that year, causing great rejoicings in Egypt. However, under the Greek reign of Khoshkadam, who took power in 1463, Egypt began the struggle between the Egyptian and the Ottoman sultanates which finally led to the incorporation of Egypt