The new red, black and green flag of Libya took its place on Tuesday among the row of flags of United Nations member states.
During the flag-raising ceremony at the UN's European headquarters, Libyan envoy Ibrahim Al-dredi sang his country's anthem with his hand on his heart.
A small group of his compatriots joined in outside the UN gates and later chanted "Libya, Libya, Libya."
"It is a really emotional moment to see the flag, our flag in three colours symbolises a lot for our people," the ambassador told AFP.
"My wishes are for a new free Libya, a dignified country where human rights are respected, and where there is equality for all in the country," he added.
Last February, Al-dredi and others at Libya's UN mission in Geneva announced their defection from Muammar Gaddafi's regime, which was ousted last month.
Short link: