An alleged Hudson Valley heroin dealer was arrested after one person died from a likely overdose in the local area.

On Monday, investigators with New York State Police and the Port Jervis City Police Department arrested 28-year-old Patrick Shevlin of Montague, N.J. for criminal sale of a controlled substance, a felony.

The arrest is based upon an investigation into the circumstances leading up to the suspected overdose death of a 30-year-old man in Sparrowbush, police say.

Early Saturday morning, State Police were sent to a home in Sprarrowbush for an apparent heroin-related overdose.

Police allege Shevlin sold heroin to the victim prior to his death.

While being arrested, the New Jersey man was found with 270 individual packets containing heroin, officials say.

Shevlin was additionally charged with criminal sale of a controlled substance and criminal possession of a controlled substance with intent to sell, felonies.

He was arraigned in Port Jervis City Court and remanded to Orange County jail in lieu of $50,000 bail pending further court appearances.

The arrest stems from a joint investigation conducted by the New York State Police, the Port Jervis City Police Department, the Orange County District Attorney’s Office and the Orange County Medical Examiner’s Office.

The death investigation is continuing and police and prosecutors are awaiting the results of an autopsy and toxicology analysis by the Orange County Medical Examiner’s Office.