Turkish President Recep Tayyip Erdogan paid a surprise visit to Tunisia on Wednesday to discuss cooperation for a possible cease-fire in neighboring Libya, where Ankara supports the internationally recognized government.

The visit comes after Turkey signed an accord with Libya¡¯s internationally recognized government last month that seeks to create an exclusive economic zone from Turkey¡¯s southern Mediterranean shore to Libya¡¯s northeast coast.

Ankara says the deal aims to protect its rights under international law, and that it is open to signing similar deals with other states on the basis of ¡°fair sharing¡± of resources.