The Burji Mamluks or Circassian Mamluks (المماليك الشركس), sometimes referred to as the Burji dynasty, were the rulers of the Mamluk Sultanate of Egypt from 1382 until 1517. As with the preceding Bahri Mamluks, the members of the Burji Mamluk ruling class were purchased as slaves (mamluks) and manumitted, with the most powerful among them taking the role of sultan in Cairo. During this period, the ruling Mamluks were generally of Circassian origin, drawn from the Christian population of the northern Caucasus. The name Burji, meaning 'of the tower', refers to the traditional residence of these Mamluks in the barracks of the Citadel of Cairo. Although sultans typically designated their sons to succeed them after death, the latter rarely lasted more than a few years before being usurped by one of the powerful Mamluk commanders, usually from among the Mamluks purchased by previous sultans. Political power-plays often became important in designating a new sultan. During this period, the Mamluks fought Timur and conquered Cyprus. Over the course of the 15th century, the sultanate was weakened by infighting and economic decline brought about by multiple factors. Although militarily powerful, they were eventually unable to compete with the more modern army of the Ottoman Empire, leading to their eventual conquest in 1517 by the Ottomans. Mamluk Sultanate#Burji rule 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.