The investigation was launched in 2016, after the office received a complaint from a the parent of a young employee alleging that the minor had worked past midnight at a Chipotle in Beverly, which is against Massachusetts law.

Attorney General Maura Healey says a review of the restaurant chain's records revealed that minors routinely worked in violation of state child labor laws.

Audits of Massachusetts Chipotle restaurants between 2015 and 2019 identified 13,253 child labor violations.

Healey said "minors were working way too late into the evenings and early hours of the morning, they were working way too many hours per shift and without proper work permits."

Among the violations, state investigators found Chipotle allowed minors to work more than the 9-hour daily limit and the 48-hour weekly limit.

The attorney general said the restaurant chain provided records to investigators and has agreed to train employees and put procedures in place to comply with child labor laws.

“We are committed to ensuring that our restaurants are in full compliance with all laws and regulations and we believe that in hiring workers beginning at age 16, we can provide younger employees with valuable experiences and provide a compelling work environment," the company said in a statement.

Chipotle also said it has committed to donating $500,000 as part of the settlement "for the education and enforcement oversight related to child labor laws, for training and skills development of young workers, and to assist Massachusetts youth."

The company has more than 50 locations in the state.

Healey said the settlement sends a message: "Fast food chains and restaurants and employers need to comply with child labor laws."

By law, 14- and 15-year-olds are not allowed to work past 7 p.m. and 16- and 17-year-olds cannot work after 10 p.m. on a school night.

"We want to make sure our young people, sure, are able to go to work, but we don't want them exploited," Healey said.

This story comes from the New England News Collaborative, eight public media companies, including The Public's Radio, coming together to tell the story of a changing region, with support from the Corporation for Public Broadcasting.