Libya’s two rival governments declared a stop-hearth in the country’s civil war on Friday, easing months of tensions that threatened to draw forces from Turkey, Egypt, Russia and other regional powers into a broader conflict.

Primary Minister Fayez al-Sarraj, the head of Libya’s U.N.-backed government in Tripoli, “issued instructions to all military forces to right away stop hearth and halt all overcome functions in all Libyan territories,” according to a assertion from the government.