The United Nations Security Council has voted to end international military operations in Libya next Monday.
In March the council voted to authorise “all necessary measures” to protect civilians, after then-leader Muammar Gaddafi launched a deadly assault on protesters against his rule.
Last week Nato and its partners, which had been conducting air strikes, said the campaign would end on 31 October.
Libya’s new government declared the country liberated on Sunday.
On Thursday the council unanimously approved a resolution ending the mandate for foreign military action at 23:59 Libyan time on 31 October.
UK Foreign Minister William Hague said the vote was a “milestone towards a peaceful, democratic future for Libya”.
Subscribe to The Iranian newsletter
Sign up for our daily newsletter to get the top news stories delivered to your inbox.