US President Barack Obama has said failing to prepare for the aftermath of the ousting of Libyan leader Col Muammar Gaddafi was the worst mistake of his presidency. Â Mr Obama was answering a series of questions on the highs and lows of his time in office on Fox News.
He said, however, that he thought intervening in Libya was â€œthe right thing to doâ€.
The US and other countries carried out strikes designed to protect civilians during the 2011 uprising.
But after the former Libyan president was killed, Libya plunged into chaos with militias taking over and two rival parliaments and governments forming.
So-called Islamic State (IS) gained a foothold, and Libya became a major departure point for migrants trying to reach Europe.
A UN-backed national unity government arrived in the capital Tripoli earlier this month but is waiting to take charge.