JUBA (Reuters) - The president of South Sudan said on Monday that soldiers who rape civilians should be shot, trying to mollify citizens outraged by abuses by security forces and quell growing international anger over attacks.

South Sudan's President Salva Kiir attends the 28th Ordinary Session of the Assembly of the Heads of State and the Government of the African Union in Ethiopia's capital Addis Ababa, January 30, 2017. Picture taken January 30, 2017. REUTERS/Tiksa Negeri

South Sudan was plunged into a sporadic civil war in 2013 when Salva Kiir, an ethnic Dinka, fired his deputy, an ethnic Nuer. Rights groups and U.N. monitors say soldiers have gang-raped women based on their ethnicity. A few rapes by rebels have also been reported.

The reports of sexual violence, committed with impunity, raised tensions between the South Sudanese government and Western donors, who bankroll most of the country’s health and education needs and largely fund a 15,000-strong U.N. peacekeeping force that costs around $1 billion dollars a year.

“Those who are doing unlawful acts, raping women and girls, this is not the policy of the government ... the body of a woman cannot be taken by force,” Kiir said in a speech given during a visit to the town of Yei.

The area around the former business hub, near the Ugandan border, saw fierce fighting last year and is now home to a large contingent of soldiers.

“I want the general chief of staff General Paul Malong and the defense minister to report to me from now on if anything like this (rape) happens. In such a case, we will shoot the person who did it,” Kiir said.

In December, the United Nations warned that the simmering ethnic violence was at risk of exploding into genocide.

The conflict has already forced more than 3 million people to flee their homes, and many women report being targeted by soldiers when they leave U.N.-protected camps to search for firewood or food.

Kiir’s speech hinted that one reason the government had failed to crack down on abuses by soldiers was fear of international criticism.

“There are people among you will go to the United Nations and report that we are killing people,” he said.

South Sudanese military spokesman Brigadier General Lul Ruai Koang said he was aware of a case in September where a major was dismissed and jailed for 14 years for the rape of a teenager girl in the capital.

Kiir’s visit to Yei was his first since the South Sudan became an independent country from Sudan in 2011, following Africa’s longest-running civil war.

The visit is part of a government-backed “National Dialogue” that aims to win over hostile areas of the country.