JUBA, South Sudan — Demonstrations in South Sudan’s capital turned violent on Tuesday as people took to the streets to protest the United States’ new ban on supplying weapons to the country.

On Friday, the United States imposed a unilateral arms embargo on South Sudan, which is embroiled in a civil war. The State Department said it was “appalled” by the continuing violence perpetrated by both sides in the conflict.

The civil war has killed tens of thousands of people and displaced millions.

On Tuesday, hundreds of people gathered outside the United States Embassy in the capital, Juba, and the nearby United Nations base to show their anger.

Demonstrators held up posters that included the slogans “Down Down Mr. Trump” and “Don’t weaken our nation Mr. Trump.”