A magistrate judge said U.S. Rep. Ilhan Omar is entitled to certain privacy protections as a sitting member of Congress, according to recently unsealed court documents. The records describe a dispute between Justice Department attorneys and the judge who authorized the search, Matthew Sharbaugh, over the constitutional implications of searching a congressman’s home in a criminal investigation.

Media organizations sued to obtain the heavily redacted filings. They do not appear to disclose new information about the reason for or outcome of the search, but they detail arguments over whether searching a lawmaker’s private residence could infringe protections under the Speech or Debate Clause.

The clause protects legislators from executive branch interference or intimidation and includes a privilege against compelled disclosures. Government lawyers argued that the privilege applies only to official congressional offices and certain electronic devices. Sharbaugh disagreed, saying the reasoning behind that interpretation did not hold.

A search protocol was eventually agreed upon, allowing Omar to invoke her constitutional rights before agents carried out the search. The agreement balanced the government’s law-enforcement interests against her rights.

The released filings also address the government’s opposition to unsealing sensitive records. Prosecutors argued that disclosure could jeopardize the ongoing investigation before a charging decision. The judge agreed and kept sealed a 67-page affidavit containing sensitive information. The court-authorized search took place just weeks before Omar’s reelection.

The search yielded 17 items, including personal devices and a vintage camera given to her husband as a gift, according to Omar. The timing raised questions given the Justice Department’s general practice of avoiding public investigative actions involving candidates close to an election.

The records offer insight into a broader inquiry into potential immigration fraud in Omar’s family’s paperwork. Federal authorities have issued grand jury subpoenas to some of her relatives, according to reports from The Associated Press. The article also says Omar has been a target of anti-immigrant rhetoric by President Donald Trump and many Republican allies.

The report was published by News Central Site and republished under CC BY 4.0. News Central Site says some reports use automated writing tools; it cites original reporting by abcnews.com.