The state fire marshal’s office has suspended the man who managed the Edgartown town fireworks display on July 4 after several undetonated fireworks washed up on Chappaquiddick the following day.

Anthony Marson, the man hired by Central Maine Pyrotechnics to put on the town fireworks, was given a 10-year suspension on his fireworks certificate of competency, according to a fire marshal office spokesperson. Mr. Marson won’t be able to shoot off fireworks in Massachusetts for at least five years. The second five years of the ban will be a probationary period.

Central Maine Pyrotechnics, run by Steven Marson, was also given a two-year suspension, though it will be held in abeyance as a probationary period.

Both the shooter and the company agreed to the suspensions prior to a hearing scheduled for Wednesday, acknowledging the various fire safety code violations found during an investigation by Edgartown and state fire officials.

Approximately two dozen unfired commercial-grade firework shells were found undetonated on Chappaquiddick July 5. The town warned that the shells were highly dangerous and asked people to report them so they could be handled by the state bomb squad.

The state fire marshal’s investigation indicated the shells were improperly disposed of following the town firework display.