A federal judge Tuesday night barred U.S. immigration authorities from separating children from their parents at the border, and ordered the government to reunite families that had been split up. U.S. District Court Judge Dana Sabraw in San Diego granted an injunction that had been sought by the American Civil Liberties Union. "There is no genuine dispute that the government was not prepared to accommodate the mass influx of separated children," Sabraw said in his ruling, calling the situation "a chaotic circumstance of the government's own making." Sabraw ordered all children under 5 to be reunited with the families within 14 days, and children over 5 to be reunited within 30 days. More than 2,000 children have been separated from their parents since the Trump administration's "zero-tolerance" program began in May. Last week, Trump signed an executive order halting the separations. On Monday, 17 states sued the Trump administration in an effort to reunite the families.