The UN has condemned the escalation in violence in Libya as forces loyal to the country’s two rival parliaments battle for control of the country’s oil infrastructure.

“We consider the military escalation as a direct attempt to undermine the political dialogue efforts,” The United Nations Support Mission in Libya (UNSMIL) said in a statement on Monday as fighting near the El-Sider and Ras Lanuf oil ports continued for a third day.

Libya’s National Oil Company has already declared force majeure at the two terminals due to the ongoing violence.

Over recent days there has also been fighting on Libya’s Tunisian border, sparking the closure of the Ras Ajdir border crossing, the main gateway between the two countries.

An unelected, Islamist-led government currently controls Tripoli while the country’s elected government is based in Tobruk, a small coastal city in the country’s east for security reasons.

El-Sider and Ras Lanuf are respectively Libya’s biggest and third-biggest oil terminals, and have a combined capacity of 560,000 barrels a day (b/d).