A veteran jail guard was suspended without pay for 90 days and placed on 3 years probation following an investigation by the sheriff’s office into allegations of sexual harassment involving a female colleague, according to several people familiar with the matter.

Anthony Massaro,48, who also worked part time as a patrol officer in the village of Galway Police Department, engaged in sexually inappropriate conversations, according to sources who spoke on the condition of anonymity because they are not authorized to publicly discuss the matter.

A female correction officer recorded one of those conversations on her cellphone and went to jail officials late last year.

She is out on stress-related leave, sources said.

After the probe was initiated, other female correction officers came forward and leveled similar accusations against Massaro, the sources said.

He is also accused of sending sexually explicit photos of himself to at least one of those women. Massaro could not be reached for comment, and his attorney did not return several calls to his office seeking comment.

Schenectady County Sheriff Dominic Dagostino said there was an investigation and punishment meted out after the allegations against Massaro were reported.

He declined to comment further.

County attorney Chris Gardner refused to discuss the matter.

Massaro, who is married and lives in Schenectady, is scheduled to return to work in May.

He has about 15 years on the job and will be demoted to the 11:15 p.m. to 7:15 a.m. overnight shift and be prohibited from working on the two blocks where female inmates are housed, according to a person with knowledge of the case.

Massaro will no longer be allowed to teach defensive tactics at the Zone 5 Training Academy in Schenectady for police recruits or serve with the sheriff’s office honor guard that represents the law enforcement agency at funerals and parades.

The findings of the sheriff’s probe also cost Massaro his part-time job as a Galway police officer in Saratoga County, Galway Police Chief Les Klein said Friday.

He said he was stunned to learn of the sexual harassment claims and the investigation that later substantiated them.

“The results of that investigation warranted that there be dismissal in Galway,” said Klein, adding that Massaro had recently completed training at the police academy at Fulton-Montgomery Community College and was working patrol barely a month with a more experienced officer before he let him go.