PITTSFIELD, Mass. (AP) — A New York man who secretly recorded 10 adults and five children using the bathroom at a public park in Massachusetts has been sentenced to up to five years in prison.

Sam Wassilie apologized at sentencing Wednesday in Berkshire Superior Court, saying he suffered from a "crippling" sex addiction that had ruined his life and cost him his job and family.

The Berkshire Eagle reports he was convicted Nov. 9 of 10 counts of video recording people nude or partially nude, and five counts of video recording sexual parts of children.

Prosecutors say the 39-year-old Hudson, New York, man set up a cellphone to record people using the shared bathroom at Pinegrove Park in Dalton in the fall of 2014. The park has ball fields, basketball courts and a playground.

___

Information from: The Berkshire (Mass.) Eagle, http://www.berkshireeagle.com