Sudan has denied supporting any of the warring militias in Libya after forces seized a Sudanese airplane loaded with ammunition.

A statement from Libya's government, recently empaneled by the country's newly elected parliament, accused Sudan on Saturday of supporting "terrorist groups" in Libya with weapons from the aircraft. They said the move "breached its national sovereignty."

Alsawarmi Saad, a spokesman of the Sudanese armed forces, told local television channel al-Shorouk on Saturday night that the plane was meant to supply joint Libyan-Sudanese forces operating on the country's shared border.

Libya is witnessing the worst bout of violence since its 2011 civil war saw longtime dictator Moammar Gadhafi ousted and killed. Rival groups backed by heavily armed militias fight for political power.