WASHINGTON (AP) — A Missouri company agreed Friday to stop making and selling an illegal agricultural firecracker that has been available nationwide to control infestations of birds.

Max 2000 Inc., of Stanton, Mo., and its company officials signed a consent decree with prosecutors in the U.S. District court in St. Louis, where they faced charges of violating federal hazardous substances laws.

The company made and sold more than 1 million Pest Control Report 2000 firecrackers, each containing up to 1 gram, or 0.035 ounce, of explosive powder, said Consumer Product Safety Commission spokesman Scott Wolfson. That is about 20 times the legal limit for fireworks to be sold to consumers, he said.