Macy's agreed Monday to pay a $750,000 civil penalty to the federal government following allegations by the US Consumer Product Safety Commission (CPSC) that the retailer failed to report it had sold children's sweatshirts, sweaters and jackets with drawstrings at the neck.

The sales of the products, which pose a strangulation hazard, took place between 2006 and 2010 and were made at various Macy's-owned stores, including its eponymous flagship, Bloomingdale's and Robinsons-May.

The CPSC had charged the company knowingly sold some of the garments following a recall.