The Islamist militia in control of Libya's capital, Tripoli, says it agrees with a U.N. call for a cease-fire in this North African country but vows to resist any foreign interference in Libyan affairs.

Senior commander Ahmed Hadiya from Dawn of Libya, an umbrella of Islamist militias, says his group will "cooperate with the world" unless this violates Libya's sovereignty.

The remarks, which came in a statement late Thursday, are seen as a rejection of a recent appeal by a group of Libyan lawmakers for United Nations to intervene to stop ongoing militia battles.

Libya currently has two rival parliaments in different parts of the country, and two different governments. The divisions are rooted in rivalries between Islamists and non-Islamists, as well as powerful tribal and regional allegiances.