The Queens Family Court should have allowed an incarcerated man to take a paternity test to determine if he is a child's father before taking away his parental rights on abandonment grounds, an appellate court ruled.

“Indeed, without the benefit of DNA testing, the appellant will be subject to the stigma of an abandonment finding as to a child for whom he may not have any parental rights or responsibilities,” Appellate Division, Second Department, Justice Mark Dillon wrote in Matter of Heaven A.A., 17460/11. “Moreover, such finding might negatively affect the appellant's status in potential future court proceedings.”

The child involved in the case, identified in court papers as Heaven, was born on Feb. 22, 2008. SCO Family of Services, a nonprofit foster care agency that had custody of the child, filed a petition in 2011 to terminate the parental rights of the defendant and putative father, Tyrone W.