BROOKLYN - A Chinese immigrant accused of killing five family members in Sunset Park last year has been found unfit to stand trial. 

A judge ruled that 25-year-old Mingdong Chen is suffering from a mental illness that prevents him from making reasoned decisions, but the exact diagnosis was not released. 

According to prosecutors, Chen fatally stabbed his cousin's wife and four kids back in October. The children ranged in age from 18 months to 9 years old. 

Chen had pleaded not guilty to five counts of murder. He will now go to an inpatient psychiatric facility.