Qaddafi was a staunch ally on checking Ansar -al Shari, and LIFG ( Libyan Islamic fighting group).
You might be thinking of the NTC - that was the bunch that came out of the east (Bengazi)where the UN authorized force because Qaddafi was shelling those guys in their pick up trucks. The NTC cannot rule, and uses militias to prop up their government.
The country is now being broken up along geographic (eastwest/) and Islamic/secular forces.
Moreover we left militia rule, and that country is in a protracted civil war, /kidnappings/shelling of Parliament /2 government/s it's a fiasco