FALL RIVER — A Pawtucket man who robbed a Raynham gas station clerk at knifepoint has been sentenced to serve up to seven years in state prison.

Bristol County District Attorney Thomas Quinn III says 21-year-old Miguel Gonzalez pleaded guilty in Fall River Superior Court last week to an indictment charging him with armed and masked robbery.

On December 5, 2017, at approximately 3:47 a.m. Gozalez entered the Seasons Gas Station in Raynham, armed with a knife. Gonzalez approached the clerk and stated, “give me all the money, give me everything.” After stealing about $165, Gonzalez fled the scene in a black Nissan Altima.

After an extensive investigation, which involved the use of surveillance video, police were able to identify and capture him.

“This is a violent robbery that undermines the sense of security of small businesses and the community,” District Attorney Quinn said.

“The defendant is a danger to the community and still has two other pending robberies. He will be off of the street for up to seven years.”

Gonzalez also has two other open and pending robbery cases out of Rhode Island and Plymouth County.

The five to seven-year state prison term was imposed by Judge Thomas Perrino. The case was prosecuted by Assistant District Attorney Melissa Hendrie.