In 1551, Ottoman admiral Turgut Reis (also known as Dragut) captured the city [7] with the help of Sinan Pasha. Eventually Benghazi and the hinterland Fezzan were also annexed. Between 1711 and 1835 Libya became autonomous under Karamanlı dynasty (a dynasty founded by a military ruler from Karaman, Turkey).