Walmart Inc. said on Tuesday it would discontinue sales of ammunition for handguns and some assault-style rifles in stores across the United States, in response to the recent mass shootings in Texas and Ohio.

The largest U.S. arms retailer, which has been under pressure to change its policies on gun sales, also said it would discontinue handgun sales in Alaska, the only state where it still sells these guns.

Walmart has already ended sales of assault rifles and raised the minimum age for gun purchases to 21. The latest move will leave it focused on weapons for hunting, including deer rifles, shotguns and related ammunition.