Ambassadors of France, Britain and Spain have arrived in Tripoli as the international community tries to shore up the new, U.N.-brokered unity government for Libya.

This is the diplomats' first return in about two years. Most of the foreign embassies closed in 2014 as Tripoli descended into heavy clashes between militias supporting rival camps. The country later became engulfed in turmoil that has split it into rival governments and parliaments.

The diplomats were meeting on Thursday with deputies of prime minister-designate, Fayez Serraj, at a naval base in Tripoli.

Earlier this week, Italian Foreign Minister Paolo Gentiloni visited Tripoli and announced talks are underway to reopen embassies.

The West is hoping the new government will unify Libyans and help the country battle a surging Islamic State affiliate.