ROCKLAND — A state judge set bail at $1,000 cash for a 28-year-old Old Town man charged with posing as a 13-year-old boy online, then sexually assaulting a 12-year-old girl when he met her in person in Rockland.

Zachary Lankist was charged July 19 with Class A gross sexual assault, which carries a maximum prison sentence of 30 years.

An affidavit filed in the Knox County court, detailed the investigation. The police report stated Lankist was sending messages to the Rockland girl and stated he was a 13-year-old boy.

The two eventually met in Rockland April 1. The girl told police she told him no when he wanted to have sex, but he sexually assaulted her.

At his initial court appearance July 20 in the Knox County court, Judge John Martin agreed to set bail at $1,000 cash as was recommended by the district attorney’s office and defense.

Lankist is prohibited from having contact with anyone younger than 18. The exception would be if the Maine Department of Health and Human Services allows him to see his 2-year-old and 8-year-old children. He must sign a Maine Pre-Trial contract and is barred from using any electronic device that can access the internet.

He was represented for the day by attorney Jane Langdon-Gray.

Rockland Police were assisted in the investigation by members of the Old Town Police Department, Maine State Police Computer Crimes Unit and Maine State Police Evidence Response Team. The investigation is still ongoing and more charges are expected.

Anyone with any information related to this case is asked to contact Rockland Police Detective Anne Griffith at agriffith@rocklandmaine.gov or 594-0316, extension 232.

Lankist was still in jail as of July 22.