image copyrightReutersimage captionA monitoring group says security forces have killed more than 860 people and detained nearly 5,000 to date
The UN has issued a rare call to halt to arms sales to Myanmar in response to this year's violent military coup.
The General Assembly adopted a resolution condemning the military junta, which overthrew the country's elected government in February.
The UN also called for the release of political detainees, such as elected leader Aung San Suu Kyi, and an end to violence against peaceful protesters.
While not legally binding, the resolution is politically significant.
"The risk of a large-scale civil war is real," UN special envoy on Myanmar, Christine Schraner Burgener, told the General Assembly. "Time is of the essence. The opportunity to reverse the military takeover is narrowing."
It was supported by 119 countries, with Belarus the only one to vote against it.
Another 36 countries abstained, including Russia and China – Myanmar military's two biggest arms suppliers.
Some of the abstainers said the crisis was an internal issue for Myanmar, while others said the resolution did not address a brutal military crackdown on the Rohingya Muslim population four years ago, which forced almost a million people to flee the country.
image copyrightReutersimage captionThe resolution also calls for an end to violence against peaceful protesters
The EU's UN ambassador, Olof Skoog, said the resolution "delegitimises the military junta, condemns its abuse and violence against its own people, and demonstrates its isolation in the eyes of the world".
But Myanmar's UN ambassador Kyaw Moe Tun, who represents the country's elected civilian government, said he was disappointed by how long it took for the General Assembly to pass what he called a "watered down" resolution.
Ms Suu Kyi, 75, has been held under house arrest since the coup, and little has been seen or heard of her, with the exception of brief court appearances.
The military has justified seizing power in February, alleging voter fraud in general elections held last November.
- Myanmar coup: What is happening and why?
- 'I was told to shoot protesters – I refused'
- Street tales from Myanmar: 'Take care of our baby if I die'
But independent election monitors say the election was largely free and fair, and the charges against Ms Suu Kyi have been widely criticised as politically motivated.
The coup triggered widespread demonstrations, and Myanmar's military has brutally cracked down on pro-democracy protesters, activists and journalists.
Security forces have killed more than 860 people and detained nearly 5,000 to date, according to the monitoring group Assistance Association for Political Prisoners (AAPP).
Last month, Human Rights Watch had urged the UN General Assembly to pass a resolution calling for an arms embargo, saying that "while not legally binding on states, such a resolution would carry significant political weight".
"Governments should recognise that arms sold to Myanmar's military will likely be used to commit abuses against the population," the organisation added. "Arms embargoes can help prevent such crimes."
media captionCould phone footage put Myanmar's leaders in jail?Myanmar in profile
- Myanmar, also known as Burma, became independent from Britain in 1948. For much of its modern history it has been under military rule
- Restrictions began loosening from 2010 onwards, leading to free elections in 2015 and the installation of a government led by veteran opposition leader Aung San Suu Kyi the following year
- In 2017, Myanmar's army responded to attacks on police by Rohingya militants with a deadly crackdown, driving more than half a million Rohingya Muslims across the border into Bangladesh in what the UN later called a "textbook example of ethnic cleansing"