Turkish President Recep Tayyip Erdogan on Sunday met with the head of Libya’s UN-recognized government in Istanbul, a diplomatic source said.

The closed-door meeting between Erdogan and Fayez al-Sarraj held at the Dolmabahce Palace lasted nearly two-and-a-half hours.

The UN-recognized Government of National Accord (GNA) in Tripoli and forces loyal to Libya’s renegade Gen. Khalifa Haftar accepted a joint call by Turkey and Russia for a cease-fire on Saturday.

The cease-fire took effect at midnight local time (2200GMT) and the decision was celebrated with fireworks in Tripoli.

On April 4, Haftar launched an offensive to capture Tripoli from the

Read more: Erdogan meets head of UN-recognized Libyan government