A federal judge in Washington ordered the Trump administration to immediately restore certain public health information removed from websites in recent days that doctors and researchers said they needed to treat patients and track disease outbreaks in real time.

U.S. District Judge John Bates on Tuesday issued a temporary restraining order after determining that the membership group Doctors for America, which sued last week, was likely to succeed in arguing that federal agencies failed to provide advance notice or engage in “reasoned decision making” as required by US law. He also said the loss of data access risked public health now.

“It bears emphasizing who ultimately bears the harm of defendants’ actions: everyday Americans, and most acutely, underprivileged Americans, seeking health care,” Bates wrote. “If those doctors cannot provide these individuals the care they need (and deserve) within the scheduled and often limited time frame, there is a chance that some individuals will not receive treatment.”

— The Associated Press