May 27 (UPI) -- Retailer Walmart will pay a $16,000 fine for shipping realistic toy guns to New York buyers in violation of state law, state Attorney General Letitia James announced on Tuesday.

New York law bans retailers from selling or shipping toy guns that are black, dark blue, silver or aluminum-colored and resemble real firearms.

"Realistic-looking toy guns can put communities in serious danger," James said in a news release. "That is why they are banned."

She said realistic-looking toy guns can be used to engage in unlawful activity and have led to several deaths and shootings across the state and Walmart's third-party sellers sold them to New York buyers.

Related