Walmart plans to remove guns and ammunition from its sales floors in the US following unrest in Philadelphia this week, a spokeswoman said Thursday.

The retail giant will continue to sell the items to consumers who request them, but will pull them from displays. Guns and ammunition are sold at about half of US stores, primarily in locations where hunting is popular, a company spokeswoman said.

"We have seen some isolated civil unrest and as we have done on several occasions over the last few years, we have moved our firearms and ammunition off the sales floor as a precaution for the safety of our associates and customers," a Walmart spokeswoman said. "These items do remain available for purchase by customers."

Walmart will pull guns from its retail spaces in the US, but continue to sell the items to consumers who request them
Walmart will pull guns from its retail spaces in the US, but continue to sell the items to consumers who request them AFP / NICHOLAS KAMM

The move comes after Philadelphia on Wednesday announced a nighttime curfew following two nights of unrest over the police killing of Walter Wallace, who became the latest Black person to die at the hands of law enforcement.

Earlier killings of George Floyd, Breonna Taylor and other African Americans have spawned mass protests throughout the US this year.

Thousands of people have taken to Philadelphia's streets, with looting and violence breaking out, since police on Monday shot dead Wallace, who was carrying a knife. Wallace's family said he had mental health problems.

Philadelphia Mayor Jim Kenney said there would be no curfew Thursday night, but "we encourage residents to remain home, unless travel is necessary."