(CNN) Former Trump campaign chairman Paul Manafort has lost his lawsuit claiming that Deputy Attorney General Rod Rosenstein and special counsel Robert Mueller exceeded their authority in charging him with alleged crimes that he says have nothing to do with the 2016 campaign.

A judge said Friday that Manafort can't use this lawsuit to stop the special counsel's office from continuing to pursue an investigation of him.

"A civil case is not the appropriate vehicle for taking issue with what a prosecutor has done in the past or where he might be headed in the future," Judge Amy Berman Jackson of the US District Court in Washington, DC, wrote Friday.

Manafort's decision to bring the civil case in DC appeared to be a long-shot attempt to invalidate Mueller's investigation. He's made similar, more typical arguments in the criminal cases he faces, in which he's pleaded not guilty. The judges haven't decided yet on those arguments.

Rosenstein's order appointing Mueller makes clear that the special counsel is authorized to investigate and prosecute Russian meddling in the 2016 election, potential links or coordination between Trump campaign associates and the Russians, as well as "any matters that arose or may arise directly from the investigation." An unclassified memo from Rosenstein to Mueller last summer further details how investigators could pursue allegations that Manafort committed crimes related to his work for former Ukrainian government officials, and during the Trump campaign by colluding with Russian officials to influence the election.

Read More