The Ilkhanate lost cohesion after the death of Abu Sa'id, thus could not support Armenian Kingdom in guarding Cilicia. Internal conflicts within Armenian Kingdom and the devastation caused by the Black Death that arrived in 1348, made nomadic Türkmens to turn their eyes to unstable Cilicia. In 1352, Ramazan Beg led Turkmens settled south of Çaldağı and founded their first settlement, Camili. Later that year, Ramazan Beg visited Cairo and was assented by the Sultan to establish the new frontier "Turkmen Emirate" in Cilicia. In 1359, Mamluk Sultanate Army marched into Cilicia and took over Adana and Tarsus, two major cities of the plain, leaving few castles to Armenians. In 1375, Mamluks gained the control of the remaining areas of Cilicia, thus ending the three centuries rule of Armenians. In 1516, Selim I incorporated the beylik into the Ottoman Empire after his conquest of the Mamluk state. The beys of Ramadanids held the administration of the Ottoman sanjak of Adana in a hereditary manner until 1608, with the last 92 years as a vassal of the Ottomans.