The Ottoman Empire had also nominally ruled the coastal areas of what is today Libya since the 16th century, organised into the Vilayet of Tripolitania, with a vaguely defined border between the Vilayet and Egypt based on an 1841 Ottoman firman, which placed the border further to the east than its current position.