Egypt’s President Abdul Fattah al-Sisi and his Sudanese counterpart Omar al-Bashir have agreed to support Libya’s military as the nation’s parliament struggles to retake control of the country’s two biggest cities.

The two leaders announced the agreement on 19 October, after two days of talks in Cairo.

As well as supporting the military, Egypt and Sudan will also coordinate efforts to support other state institutions.

The announcement from Cairo about the plan to assist Libya’s military comes one day after the country’s Prime Minister Abdullah al-Thani said he is looking to take back control of the nation’s capital, Tripoli, and its second city, Benghazi.

Libya’s capital has been under the control of the General National Congress (GNC), an unelected parliament backed by a coalition of Islamist-led militias, since August, when pro-government militias were defeated in a battle over Tripoli’s international airport.

Military operations to attempt to defeat Islamist militias and take control of Benghazi started on 15 October.

A total of 65 people have died in the fighting so far, according to a government official who spoke to news agency AP on 20 October.

Thousands of residents have been displaced by the fighting.

Libya’s elected parliament, the House of Representatives, is currently based on a cruise ship in the small port city of Tobruk due to concerns about militia attacks from groups operating in Tripoli and Benghazi.