A drug dealer from Farmingville was sentenced Wednesday to 23 years in prison for firing his handgun at undercover Suffolk County police detectives who were trying to arrest him three years ago.
Nicholas Hansen had been convicted in December of second-degree attempted murder, criminal use of a firearm, criminal possession of a weapon and criminal sale and possession of a controlled substance.
“The most dangerous treacherous police assignment is the undercover investigation of drug dealers, a fact borne out by the violence that erupted in this gas station parking lot when this defendant got out of his car with his pistol drawn,” Suffolk County District Attorney Thomas Spota said.
Prosecutors said the 23-year-old opened fire on members of the district attorney’s Heroin Task Force at the scene of a drug buy at a Holbrook gas station on Aug.11, 2011, authorities said.
A New York State Police investigator who crouched less than 10 feet away was not hit.
Hansen, who emptied his handgun during the exchange of gunfire, was found to have had four ounces of cocaine in his vehicle.