County Court Judge Matthew Sypniewski accepted Keary’s application after Keary pleaded guilty to one felony count of first-degree reckless endangerment.
The plea agreement gives Keary a chance to avoid jail time related to the June 4 incident, during which he pointed a rifle at police officers as they tried to approach his Plymouth Avenue home. He also threatened to throw grenades at the officers, though no grenades were found at the home, police said.
Police said they recovered several long guns from the residence, but further details about those weapons have not been made available.
The incident unfolded as nine people -- six children, three of whom were Keary’s, and three women -- locked themselves in an upstairs apartment for protection, according to court records.
The standoff began at around 3:15 p.m. and ended around 8:51 p.m., when Keary exited the home with his arms raised.
The Alternative Treatment Court Program was established to focus on offenders' mental health issues. It will require Keary to be under the supervision of the court, as well as the county Probation Department.
Sypniewski, who oversees the Alternative Treatment Court program, said Keary will have to come to court each month for a status update to see how he is doing in the program.
The program itself could take more than two years, Sypniewski said.
“I know that seems like a long time, but it goes by quick,” Sypniewski said.
The program’s goal is to prevent those charged with crimes from committing crimes in the future by treating their mental health issues, court officials have said.
If Keary is able to complete the program, he will be given a conditional discharge that will require him to remain arrest-free for three additional years. If he is charged with a new crime within that three-year window, county Assistant District Attorney Kyle Petit said Keary will be re-sentenced.
If Keary doesn’t successfully complete the program, Sypniewski said he will face a 1- to 3-year prison sentence.
Julia Simone, who represented Keary in court on Friday, would not comment after the hearing.