The United Nations General Assembly sought to ostracize Myanmar’s ruling generals on Friday with an emphatic rebuke, demanding they end the five-month-old military takeover, stop killing opponents and free imprisoned civilian leaders.

The 193-member body also called for an arms embargo on Myanmar and requested unimpeded humanitarian access to stop the country’s slide into poverty, dysfunction and despair.

The adoption of a resolution containing these demands by a vote of 119 to one, with 36 abstentions and 37 members not voting, was not the overwhelming consensus its drafters had originally sought. But it still represented the most widespread condemnation yet of the Myanmar military commanders who seized total control in a Feb. 1 coup and have basically ignored all efforts to restore that country’s fragile democracy.

“We cannot live in a world where military coups become a norm,” Secretary General António Guterres, who was elected to a second five-year term on Friday, told reporters before the General Assembly’s passage of the resolution. “It is totally unacceptable.”

who represents the Delegation of the European Union to the United Nations, praised the outcome.

“It sends a strong and powerful message,” he said. “It delegitimizes the military junta, condemns its abuse and violence against its own people and demonstrates its isolation in the eyes of the world.”

Myanmar’s trajectory, from decades of military rule to a move toward democratic transition in recent years — and then abruptly and violently back to military rule this year — has made the Southeast Asian country of 54 million one of the world’s most acute crises.