ALBANY, N.Y. — New York’s attorney general says the state has reached an agreement with an herbal supplement maker to implement new quality control measures to confirm the authenticity of its products.

The settlement with Long Island-based NBTY follows agreements by Attorney General Eric Schneiderman (SHNEYE’-dur-muhn) with GNC and Nature’s Way.

His office last year wrote to several makers of herbal products demanding detailed ingredient and quality control information on products they sell in the state.

The agreement calls for NBTY to phase in DNA barcoding on herbal ingredients within two years and implement annual testing to detect allergens like peanuts, milk, soy, eggs and wheat in products.

NBTY says there’s no evidence it failed to comply with federal requirements and the company is committed to promoting reliable testing for herbal dietary supplements.