Granville police arrested a fugitive last Tuesday who had been hiding in the village of Granville for at least a month.

Idris Ramos, Sr., 39, who was wanted for shooting a handgun toward two subjects in Poultney, Vt., on May 10 and for burglary and aggravated assault with a weapon, is also a Level 3 sex offender, Sergeant Dave Williams said.

New York State classifies a Level 3 offender as one who has a “high risk of repeat offense, and a threat to public safety exists.” Williams said Ramos, who is from Brooklyn, is known to be associated with the Bloods gang and is dangerous. He has previously been arrested for other charges in South Carolina and elsewhere, and goes by a number of aliases.

During the May incident, Ramos allegedly got into an argument with two Poultney residents regarding his Playstation3, held a gun to one of the subjects’ head and then shot at the wall behind the victims. He and an acquaintance then fled the scene in a truck driven by a Granville man.

Police Chief Ernie Bassett pulled over the truck for speeding and because it matched the description of one that left the scene. The driver told him he had dropped off the suspect at Price Chopper. However, police say the vehicle never went to Price Chopper.

Last week, police saw Ramos riding a bicycle on Pine Hill and picked him up for failure to register as a sex offender since 2011 and on Vermont warrant as a fugitive from justice. After taking Ramos into custody, police were able to confirm there were also active warrants for him out of New York City for third-degree criminal possession of a controlled substance and aggravated harassment.

Williams said Ramos has been hiding in the village on Lions Lane and Pine Street, and police have been trying to snag him for a month.

Following his arrest he was lodged in Washington County Jail for fugitive from justice charges, and depending on what Vermont and New York district attorney’s decide, he may be extradited to Vermont.