The U.S. District Court of Washington, D.C., ruled Thursday morning that Elon Musk and his team of coders have been blocked from further accessing government databases.
Judge Colleen Kollar-Kotelly approved the temporary restraining order outlining the conditions.
Kollar-Kotelly previously served on the Foreign Intelligence Surveillance Court (FISA) and was appointed to it by the late conservative Supreme Court Justice William Rehnquist. She was first nominated to be a Superior Court judge by President Ronald Reagan in 1984, but was appointed to the federal bench by President Bill Clinton in 1997.
ALSO READ: Elon Musk's Doge boys think this is a video game as Trump plots his 2nd coup
Norm Eisen posted on Blue Sky a "big win by us at the State Democracy Defender's Action and our partners, including Public Citizen."
The case alleged that Musk and his team had access to the personal information of government employees and others without having the proper security clearance and congressional oversight.
The ruling barred "any person who is an employee (but not a Special Government Employee) of the Department of the Treasury and who has a need for the record or system of records in the performance of their duties."
"This Order shall remain in effect until such time as the Court rules on the Plaintiffs' forthcoming Preliminary Injunction Motion," the ruling said.