The hockey coach and camp counselor charged with sending explicit messages to a 12-year-old camper was immediately fired when the Deptford Skating Center Summer Day Camp staff learned of the incident, the camp told parents.

Justin Maska, 23, of National Park, was arrested Wednesday after he sent messages to a female camper, asking for a photo of her in her underwear and telling her "what he wanted to do to" her, police wrote in their criminal complaint.

The incident allegedly occurred Aug. 15 and he was arrested a week later. Parents whose children attend the Deptford Skating Center Summer Day Camp were not informed until Thursday, after NJ Advance Media reported on Maska's arrest.

Calls and emails to the camp and rink staff have not been returned.

It's not clear how the investigation started, but the camp told parents that its staff contacted authorities when they were informed of the messages.

The letter, obtained by NJ Advance Media, does not mention the sexual nature of the communication from Maska, saying only that it took place over social media:

"Dear Parents,

You're entitled to know a recent news report that involved a counselor at an unnamed camp was at the DSC Summer Day Camp. The extent of his misbehavior was to attempt to talk to one camper through social media. As soon as we learned of this incident the counselor was terminated and law enforcement was contacted. We are pleased to know that no one was harmed, and the parents of the camper has (sic) seen fit to allow them to return to camp. We regret this unfortunate incident but look forward to finishing up the summer season..."

Maska faces charges of cyber harassment for allegedly sending or soliciting obscene material and endangering the welfare of a child by impairing the morals of a child who he had a legal duty to care for.

His lawyer, Jon M. DiMasi, declined to comment Thursday.

After prosecutors did not ask for him to be detained, a judge released Maska on conditions including that he have no contact with the victim or unsupervised contact with anyone under 18 other than his siblings.

Maska has coached numerous youth league hockey and hockey ball teams and played in adult leagues in the Gloucester and Camden County area. Earlier this summer, he was an assistant coach for the U.S. youth team at the World Ball Hockey Federation junior championships in Slovakia, according to a Gofundme page he created.

Calls and emails to the organizers of several leagues were not returned Thursday or Friday.

An representative at Virtua Center Flyers Skate Zone rink in Voorhees said Maska worked as a part-time scorekeeper there, but he is no longer being scheduled for shifts. Maska did pass a background check when he started the job in 2013, the staff member said.

Staff Writer Matt Gray contributed to this report.

Rebecca Everett may be reached at reverett@njadvancemedia.com. Follow her on Twitter @rebeccajeverett. Find NJ.com on Facebook.

Have a tip? Tell us. nj.com/tips