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. The peace of 1540 left only the maritime cities to Venice, the interior forming a Turkish province, governed from the fortress of Klis by a "Sanjakbeg" (an administrator with military powers).