In 1508 the hostile League of Cambrai compelled Venice to withdraw its garrison for home service, and after the overthrow of Hungary in 1526 the Turks were able easily to conquer the greater part of Dalmatia by 1537, when the Siege of Klis ended with the fall of the Klis Fortress to the Ottomans. The peace 1540 left only the maritime cities to Venice, the interior forming a Turkish province, governed from as the Sanjak of Klis, part of the Eyalet of Bosnia.