TRIPOLI (Reuters) - Some 400 prisoners escaped from a jail in Libya’s capital on Sunday while fighting between rival armed groups raged nearby, a judiciary official said as the United Nations called for the warring parties to meet on Tuesday.

The inmates forced open the doors of the Ain Zara prison and guards were unable to stop them, the official said, confirming a judiciary police statement posted on social media.

He asked not to get identified and could not provide more details.

The prison is located in southern Tripoli, an area hit for one week by heavy fighting between rival groups.

Separately, a missile fell on Sunday on the al-Fallah camp for displaced Tawergha people, killing two and wounding seven, including two children, said Emad Ergeha, an activist following Tawergha issues.

The Tawergha were forced to leave their settlement near the western city of Misrata in the NATO-backed uprising that toppled Muammar Gaddafi in 2011 and have been prevented from going back since.

Ergeha, who is a Tawergha, also posted online a video of firefighters extinguishing a blaze and showing severe damage to steel-made containers in the camp.

A rocket also hit the Waddan hotel in central Tripoli near the Italian Embassy on Saturday. Three people were injured, staff said.

State oil firm NOC confirmed one of its diesel depots used to supply a power station had been hit by a rocket on Saturday.

Fierce clashes erupted last week between the Seventh Brigade, or Kaniyat, from Tarhouna, a town 65 km (40 miles) southeast of Tripoli, against the Tripoli Revolutionaries’ Brigades (TRB) and the Nawasi, two of the capital’s largest armed groups.

The U.N.-backed government based in Tripoli declared a state of emergency in the capital “given the seriousness of the current situation.”

Although the government is formally in charge, it does not control the capital where armed groups are allied to it but operate with autonomy, often motivated by money and power.

To end the fighting the U.N. mission in Libya called on the “various concerned parties” to meet on Tuesday noon for an “urgent dialogue on the security situation.”