A Hudson Valley man who was previously charged with trying to murder a police officer plead insanity.

On Friday in Ulster County Court, 32-year-old Cory Larson of Pine Bush pleaded “not responsible by reason of mental disease or defect” to an indictment charging him with the felonies of menacing a police officer and reckless endangerment and a misdemeanor of criminal possession of a weapon.

On May 24, 2016, Larson called 911 and said intruders who were trying to break into his home, shot at him and he was shooting back. He also told the 911 operator that one of the intruders was in his bed and he was going to shoot the intruder again.

Responding police discovered that Larson was alone and shooting his shotgun inside his home.

Officers had to take cover when Larson pointed his gun through a window at an officers, but didn’t shoot, police say.

Larson eventually surrendered. At the time he charged with attempted murder of a police officer, reckless endangerment, menacing a police officer, all felonies, and criminal possession of a weapon, a misdemeanor. It's unclear when the attempted murder charge was dropped.

A follow-up investigation found many shotgun shells all over the home. There was evidence of drug and alcohol use, but no evidence of anyone else ever being inside the home, officals say.

According to the Ulster County District Attorney’s office, a forensic psychiatric examination of Larson determined that he was suffering from drug and alcohol withdrawals, hallucinations and a pre-existing brain injury he sustained while working construction. As a result, it was ruled that Larson lacked substantial capacity to know or appreciate the nature and consequences of his conduct on May 24, 2016, or that such conduct was wrong. The DA’s Office consented to the plea.

Following his plea, Larson was committed to the custody and care of the New York State Commissioner of Mental Health for treatment and further progressive assessment of his mental condition. If he is determined to be dangerously mentally ill, Larson will be held and treated in a secure mental health facility, officials say.

The sudden closure of a popular buffet, a local heading to the NBA and a wanted Hudson Valley sex offender tops this week in local news stories.