OSSIPEE, N.H. — A second New Hampshire man has been sentenced in connection with the disappearance and death last year of a Maine woman whose toddler daughter was found abandoned in her car.

Trevor Ferguson, of Tamworth, pleaded guilty Tuesday to conspiring to rob Krista Dittmeyer, 20. He was sentenced to at least seven years in prison.

He was accused of driving the getaway car after the crime in exchange for money and drugs that two other men hoped to steal from Dittmeyer.

WMUR-TV reported Ferguson apologized in court and that his grandmother spoke on his behalf.

Story continues below advertisement.

Dittmeyer, of Portland, Maine, was found in a snowmaking pond at Cranmore Mountain in Conway last year. The discovery came four days after her car was found idling in the ski area’s parking lot with her 14-month-old daughter unharmed inside.

Anthony Papile, of Ossipee, pleaded guilty last month to second-degree murder and was sentenced to 50 years in prison. The case is still pending of another man charged with conspiracy to commit robbery, Michael Petelis.

Prosecutors said Dittmeyer was lured to Petelis’s apartment in Ossipee. He clubbed her in the head three times as she was climbing the stairs. Prosecutors had said Papile and Petelis had plotted to steal drugs and money from her.

Prosecutors said Papile and Petelis bound Dittmeyer’s legs and torso with duct tape and put her in the trunk of her car, which Papile drove to the ski area. Papile submerged her underwater.