Updated

The German and French foreign ministers are on a joint visit to Libya to demonstrate the international community's support for the country's new U.N.-brokered unity government.

German Foreign Minister Frank-Walter Steinmeier tells reporters Saturday in Tripoli, the Libyan capital, that with Europe's support, he believes only Libyans are able to rebuild their national institutions and fight the Islamic State group.

The visit by Steinmeier and his French counterpart Jean-Marc Ayrault follows a Thursday visit by the ambassadors of France, Britain and Spain who pledged to reopen embassies closed two years ago because of instability in the country.

Turmoil over the past two years has split Libya into rival governments and parliaments: an outdated one in Tripoli backed by Islamist militias, and another in eastern Libya, which had been internationally recognized.