Inside court, two doctors testified that Jahi couldn't breathe on her own when the ventilator was briefly removed during tests. A court-appointed doctor, Paul Fisher of Stanford University, examined her for several hours on Monday and Tuesday and told Grillo she was brain dead. The judge based his decision on Fisher's conclusions as well as those of Dr. Robin Shanahan, a doctor at Children's Hospital.
Speaking directly to the family, Grillo said they have his sympathy but that he was powerless to order the hospital to keep Jahi on life support.
"I wish I could fix it, but I can't," he said.
Children's Hospital of Oakland, where Jahi is hospitalized, has asked that the girl be taken off life support after doctors there concluded she was brain dead.
"Our sincere hope is that the family finds peace and can come to grips with the judge's decision," hospital attorney Doug Strauss said outside court after Grillo's ruling.
The girl's family has said it believes she is still alive and that the hospital should not remove her from the ventilator without its permission.
Hospital lawyers disagreed.
"Because Ms. McMath is dead, practically and legally, there is no course of medical treatment to continue or discontinue; there is nothing to which the family's consent is applicable," the hospital said in a court filing on Tuesday.
Fisher first provided his opinion to Grillo behind closed doors Tuesday morning. The doctor briefly provided his conclusions in open court that Jahi has no brain activity. He then left court without taking questions.
Shanahan, the Children's Hospital doctor, was next called to testify in the judge's chambers.
Grillo had previously ordered Jahi remain on life support until Dec. 30, or until further order from the court.
Jahi was declared brain dead after experiencing complications following a tonsillectomy at Children's Hospital.
The judge on Monday had called for Jahi to be independently examined by Fisher, the chief of child neurology at Stanford University School of Medicine.
The family's attorney, Christopher Dolan, has said he wants a third evaluation done by Dr. Paul Byrne, a pediatric professor at the University of Toledo. The hospital's attorney objected to Byrne, saying he is not a pediatric neurologist.