But the Ottoman state quickly collected itself under Mehmed I and his son Murad II, who re-incorporated most of these beyliks into Ottoman territory in a period of about 25 years. The final blow for the Karamanids was struck by Mehmed II who conquered their lands and re-assured a homogeneous rule in Anatolia. The further steps towards a single rule by the Ottomans were taken by Selim I who conquered territories of Ramadanids and Dulkadirids in 1515 during his campaign against the Mamluks, and his son Süleyman the Magnificent who more or less completely united the present territories of Turkey (and much more) in his 1534 campaign. Many of the former Anatolian beyliks became the basis for administrative subdivisions in the Ottoman Empire.