AUBURN — A brother and sister involved in a Poland robbery in October were sentenced Friday to time served after pleading guilty to related crimes.

Michaela Wagg, 20, of Richmond and Caleb Wagg, 19, of Bowdoin worked out agreements with prosecutors to serve only the 85 days they had already spent at the Androscoggin County Jail. They were expected to be freed Friday.

Each defendant pleaded guilty in Androscoggin County Superior Court to aggravated criminal trespass, a felony punishable by up to five years in prison, and receiving stolen property, a misdemeanor that carries a maximum sentence of six months in jail.

They will be subject to bail conditions for the next two years, during which they must not commit any new criminal conduct. If they comply, they’ll be allowed to withdraw their pleas to the felony. If they don’t comply, they can be sentenced to up to five years on the felonies.

They also must log 100 hours of community service and be in school or employed and provide proof to the District Attorney’s Office before returning to court in February 2020 to have their felonies dismissed. They have agreed to cooperate with prosecutors and testify truthfully if called upon to do so at the trials or hearings of co-defendants.

The two waived their rights to have their cases presented to a grand jury for indictment.

Neither had a criminal history before the robbery.

The siblings must not have any contact with each other until the cases of all five defendants have been resolved, Assistant District Attorney Claire Andrews said.

The two had been originally charged, as accessories, with robbery, a felony punishable by up to 30 years in prison, for their roles in robbing a man at gunpoint at his Poland home on Oct. 26. The man’s cellphone, marijuana, video console and games were stolen.

The Waggs and three others fled the scene in a getaway car driven by Michaela Wagg, Andrews told Active-Retired Justice Robert Clifford.

At one point during the robbery, one of the group threatened to shoot the victim’s dog and hit the victim on the head with a revolver, breaking his eyeglasses, Andrews said.

They had accused the victim of having slashed their tires. As the victim tried to show them on his cellphone that he hadn’t, they took his phone.

To Michaela Wagg, Clifford said: “You’re a good student and you have an opportunity to get over this and get back to the academic world. You’re fortunate to have the scholastic ability to get good grades.”

He urged her to get her life back together. “I certainly hope you do so and wish you the best in doing that.”

[email protected]