Attorney General Eric Schneiderman has reached settlements with 30 online retailers from across the country that sold illegal toys guns to consumers in New York state.

The announcement follows a related investigation of major retailers this summer that included Walmart, Kmart, Amazon.com, and Sears.

Those retailers paid over $309,000 to settle the investigation and agreed to comply with applicable state laws.

“When toy guns are mistaken for real guns, there can be tragic consequences,” said Schneiderman. “New York State law prohibits the sale of imitation weapons that closely resemble real guns. I will continue to enforce this law so that we can avoid putting both children and law enforcement officials at risk.”

The toys guns in question violated a state law that prohibits the sale of imitation weapons.

The guns were sold through Amazon.com. 13 of the guns were sold in Utica.

More From WIBX 950