(Fox News) A California judge has ordered that a 13-year-old Northern California girl is to be taken off life support after being declared brain dead as a result of complications following a tonsillectomy.

Alameda County Superior Court Judge Evelio Grillo issued the order Tuesday but gave Jahi McMath’s family until 5 p.m. Dec. 30 to file an appeal. She will stay on life support until then.

Grillo issued the order after a Stanford doctor testified that Jahi is brain dead. Dr. Paul Graham Fisher’s evaluation was the second to reach that conclusion.

McMath’s family, who has said it believes she is still alive, wants to keep her connected to a breathing machine.

Note: Read our discussion guidelines before commenting.