A federal judge has found the warden of a D.C. jail and the director of the D.C. Department of Corrections in contempt of court Wednesday and called for an investigation by the Department of Justice to determine whether the jail has violated the civil rights of Jan. 6 defendants.

"For the reasons stated in open court, it is adjudged that the Warden of the D.C. jail Wanda Patten and Director of the D.C. Department of Corrections Quincy Booth are in civil contempt of court," U.S. District Judge Royce C. Lamberth of Washington ruled Wednesday. "The Clerk of the Court is ordered to transmit a copy of this order to the Attorney General of the United States for appropriate inquiry into potential civil rights violations of Jan. 6 defendants, as exemplified in this case."

TUCKER: WHAT REALLY HAPPENED ON JAN 6

"I find that the civil rights of the defendant have been abused," Lamberth, a Reagan appointee, said at the hearing. "I don’t know if it’s because he’s a January 6th defendant or not, but I find this matter should be referred to the attorney general of the United States for a civil rights investigation into whether the D.C. Department of Corrections is violating the civil rights of January 6th defendants ... in this and maybe other cases."

Christopher Worrell, the defendant in the specific case who is being charged with several felonies related to the January 6th riot, is being treated for non-Hodgkin's lymphoma and has contracted the coronavirus while in jail. Worrell broke his hand in jail in May and was recommended to have surgery in June but in August his lawyers say jail officials have not addressed the injury and have only provided Tylenol and other anti-inflammatories. 

The judge’s ruling in Worrell’s case comes after he found there was more than an "inexcusable" delay of jail officials turning over medical documents.

ALLEGED THEFT OF NANCY PELOSI'S LAPTOP RESULTS IN CHARGES FOR PENNSYLVANIA WOMAN

After the judge learned last week that the surgery still hadn’t happened, he ordered the jail system to turn over notes to the U.S. Marshals Service — because Worrell is a federal inmate housed in the local jail — so the Marshals Service could move forward and approve the medical procedure. But on Tuesday, the jail still hadn’t sent the records and the judge ordered the city jail officials to appear in court for a contempt hearing.

A lawyer for the jail had argued that they had been working to get the records together to comply with the court’s order before the contempt hearing was set.

"He’s needed an operation. He hasn’t gotten it," the judge said.

CLICK HERE TO GET THE FOX NEWS APP

The judge had separately chastised city officials for cutting down the number of rooms in the jail for virtual court visits and for sending an inmate to his court a few weeks ago when they did not have the results of a coronavirus test, saying the "incompetence of jail officials" led to the prisoner being sent back and forth from court without appearing before the judge.

Supporters of those jailed in Washington held a rally on Sept. 18, where they sought to highlight what they said were the disturbing treatment of suspects behind bars there.

A federal law known as the Civil Rights of Institutionalized Persons Act -- commonly called CRIPA -- allows prosecutors to review conditions of jails, prisons, and other government-run facilities to identify if there is a systemic pattern of abuse or civil rights violations.

A Department of Justice spokeswoman confirmed to Fox News they received the referral but did not have any further comment.

Associated Press contributed to this report