AUGUSTA — A Farmingdale man will spend four years in prison for robbing a woman at gunpoint and striking her in the face with a handgun.

Thomas J. Rodriguez, 31, of Farmingdale, pleaded guilty in Kennebec County Superior Court this week to robbery, criminal threatening with a dangerous weapon, and assault, all on Nov. 3, 2012, in Augusta.

According to a police affidavit, Rodriguez arrived at the victim’s apartment and demanded money at gunpoint. When she laughed at him and told him she had none because her check went directly to the bank, he struck her with the handgun, according to the affidavit.

The sentence is concurrent to a probation revocation from convictions in Machias.

A number of other people were sentenced this week in separate hearings in Kennebec County Superior Court.