Story highlights A newly formed unit of the Libyan Army has been evicting militias from their positions

Official: Militias receive a 48-hour notice to disband and have shown no resistance

The Islamist group that organized the protest at the U.S. Consulate is to disband

Militias have been a growing concern in post-revolution Libya

A newly formed unit of the Libyan Army has carried out nonviolent raids on rogue militia positions in and around Tripoli as part of a government ultimatum issued over the weekend.

Armed groups must either align themselves with the country's military or disperse, a government spokesman said Tuesday.

The "National Mobile Force" is evicting militias after handing them a deadline to withdraw from military compounds, public buildings and property belonging to members of the former regime, according to prime minister spokesman Mohammed Al-Akkari.

The operation is running smoothly with no militias offering resistance so far, he said.

Two hardline Islamist armed groups have conceded to disperse, including Ansar al Sharia. Some members of the group have been detained for an attsck on the U.S. Consulate in Benghazi on September 11, when U.S. Ambassador Chris Stevens and three other Americans were killed.

JUST WATCHED Libya growth staggered by violence? Replay More Videos ... MUST WATCH Libya growth staggered by violence? 06:03

JUST WATCHED Libyan protesters force militias out Replay More Videos ... MUST WATCH Libyan protesters force militias out 02:57

JUST WATCHED How big a threat is al Qaeda in Libya? Replay More Videos ... MUST WATCH How big a threat is al Qaeda in Libya? 03:51

JUST WATCHED Intel operations in Libya after attack Replay More Videos ... MUST WATCH Intel operations in Libya after attack 06:02

Militias and other unauthorized armed groups have been a growing concern in post-revolution Libya.

Militia members across Libya remain loyal to their groups and distrust the new government's authority, in part because of the "taint" of a link to the Gadhafi regime, said Frederic Wehrey, a senior associate in the Middle East Program at the Carnegie Endowment for International Peace.

In a February report, Amnesty International said militias in Libya were committing human rights abuses with impunity, threatening to destabilize the country and hindering its efforts to rebuild.

However, the issue didn't gain much attention until this month's deadly attack at the U.S. Consulate.

The protests stemmed from an inflammatory anti-Islam video produced in the United States. The demonstrations may have served as a cover for heavily armed militants to launch their attack on the complex, authorities said.

Tripoli's government is also holding talks with two militia groups - the Rafallah al-Sahati Brigade and the February 17 Brigade - on the possibility of joining the regular army, Al-Akkari said. The state-run LANA news agency reported Monday that a deal had been struck for two Libyan Army colonels to take the helm of the brigades, something Al-Akkari denies.

"The people of the Arab world did not set out to trade the tyranny of a dictator for the tyranny of a mob," she said in New York in a speech to the Clinton Global Initiative. "There is no dignity in that. The people of Benghazi sent this message loudly and clearly on Friday, when they forcefully rejected the extremists in their midst and reclaimed the honor and dignity of a courageous city.

"They mourned the loss of Ambassador Chris Stevens, a friend and champion of a free Libya, and his fallen comrades. They are not alone. People and leaders from across the region and the world and beyond have spoken in recent days against violence."

In her speech, she referred to Friday's rally in the eastern Libyan city of Benghazi where hundreds of protesters took over the headquarters of Ansar al Sharia.