You might call Albany Hall of Records and see if anyone knows. I am not sure if a court would have been involved at all at that time as a doctor could probably just commit the person. If the person was an adult and had been involved in altercations, you can check the Albany newspapers at
www.fultonhistory.com.