DOVER — A Somersworth man pleaded guilty to attempted robbery Tuesday in connection to a January 2012 incident where he was recognized by a family member at the convenience store he was attempting to rob at knifepoint.

Sean Michael Laughton, 25, with a last known address of 151 Indigo Hill Road, Somersworth, had allegedly threatened a clerk of the Tedeschi's Food Shop at 530 Central Ave., Dover, Thursday Jan. 5, 2012. Authorities claim he used a knife and demanded money after entering the premises.

On Tuesday he signed a waiver of indictment at Strafford County Superior Court and faces up to seven years in prison with an up to $4,000 fine for the Class B felony.

He was sentenced Tuesday to a year in prison with 56 days credited from pretrial confinement.

A second clerk on duty that evening had recognized Laughton as a family member and stated the man's name. Upon realizing he'd been identified, Laughton fled the store on foot and was contacted by police a short time later.

He turned himself in at the Dover police station later that night and refused bail.

Surveillance footage from the night of the incident showed Laughton had been in the store for some time before making contact with the clerk and it appeared that no other customers were in the store.