The coastal region of what is today Libya was ruled by the Ottoman Empire from 1551 to 1864, as the Eyalet of Tripolitania ( "Eyālet-i Trâblus Gârb") or "Bey and Subjects of Tripoli of Barbary" from 1864 to 1912 and as the Vilayet of Tripolitania ( "Vilâyet-i Trâblus Gârb") from 1864 to 1912. It was also known as the Kingdom of Tripoli, even though it was not technically a kingdom, but an Ottoman province ruled by pashas (governors). The Karamanli dynasty ruled the province as "de facto" hereditary monarchs from 1711 to 1835, despite remaining under nominal Ottoman rule