A judge ruled Monday that a 13-year-old girl who has been declared brain dead can remain on life support until January 7. Jahi McMath, 13, underwent a tonsillectomy on Dec. 9, but she started bleeding profusely and went into cardiac arrest shortly after the surgery. She was declared brain dead three days later. Her family has since fought to keep her on life support and a judge had issued a restraining preventing doctors from removing Jahi’s ventilator. The family has been scrambling to find a medical center that will care for Jahi—at least two local hospitals refused to admit a patient in her condition. Her uncle said a facility in New York has agreed to take her, leading to the last-minute reprieve.