Washington (CNN) A Navy judge has removed the lead prosecutor in the case against a Navy SEAL charged with murdering a wounded person and shooting at noncombatants in Iraq, citing potential conflicts of interest over the prosecutor's decision to use an email tracker in corresponding with the defense team.

Edward "Eddie" Gallagher faces several accusations connected to violations of military law while he was deployed to the Iraqi city of Mosul in 2017, including premeditated murder in the stabbing death of an injured person in Iraq.

Gallagher, whose lawyer has said the person was an ISIS combatant, has pleaded not guilty and is scheduled to go on trial June 10.

The removal of prosecutor Chris Czaplak comes amid a controversy over tracking devices attached to emails from Czaplak to the defense team. The devices were ordered with Czaplak's knowledge as part of a Naval Criminal Investigative Service probe into media leaks in the case. The defense had argued that Czaplak is unfit to prosecute the case because future investigations into the legality of the email tracker could create a conflict of interest.

In his ruling Monday, the judge, Capt. Aaron Rugh, said the involvement of Czaplak in the email probe "may reasonably create a conflict requiring his withdrawal under due process." While careful not to make any judgment on potential rules violations, Rugh said "the danger of investigation is sufficiently real" that a future conflict of interest could arise that would potentially impact the case.

Read More