Federal prosecutors in Washington sought and failed Tuesday to secure an indictment against six Democratic lawmakers who posted a video this fall that enraged President Donald Trump by reminding active-duty members of the military and intelligence community that they were obligated to refuse illegal orders, four people familiar with the matter said.

It was remarkable that the U.S. attorney’s office in Washington — led by Jeanine Pirro, a longtime ally of Trump’s — authorized prosecutors to go into a grand jury and ask for an indictment of the six members of Congress, all of whom had served in the military or the nation’s spy agencies.

But it was even more remarkable that a group of ordinary citizens sitting on the grand jury in U.S. District Court in Washington forcefully rejected Trump’s bid to label their expression of dissent as a criminal act warranting prosecution.

The move to charge the lawmakers — among them, Sen. Mark Kelly of Arizona and Sen. Elissa Slotkin of Michigan — was, by any measure, an extraordinary attempt by Trump appointees to politicize the criminal justice system even for a Justice Department that has repeatedly shattered norms of independence from the White House and followed Trump’s directives to prosecute his adversaries.

But manipulating bureaucratic levers is not the same thing as controlling the entire criminal justice system.

Before Trump’s second term, it had been exceedingly rare for grand jurors to rebuff requests by prosecutors seeking indictments. It is now happening with increased frequency, as Trump’s appointees push ahead with questionable cases in an effort to appease him.

On Tuesday, prosecutors presenting the case sought to convince the grand jurors that the lawmakers had violated a statute that forbids interfering with the loyalty, morale or discipline of the U.S. armed forces, according to one of the people familiar with the matter.

They sought to bring charges against Kelly, Slotkin and their four colleagues in the House: Jason Crow, a former Army Ranger; Maggie Goodlander, a former Navy reservist; Chrissy Houlahan, a former Air Force officer; and Chris Deluzio, a Navy veteran.

The Justice Department declined to comment.

Slotkin welcomed the outcome. “No matter what President Trump and Pirro continue to do with this case, tonight we can score one for the Constitution, our freedom of speech, and the rule of law,” she said in a statement.

Kelly denounced the administration’s repeated efforts to target him and his colleagues.

“This is an outrageous abuse of power by Donald Trump and his lackeys,” he said in a statement. “Donald Trump wants every American to be too scared to speak out against him. The most patriotic thing any of us can do is not back down.”

Time and again, the Justice Department under Trump has brought questionable criminal cases against foes of the president — among them, former FBI Director James Comey and New York Attorney General Letitia James.

Even though many of these cases have been weak, the department has apparently determined that it may be better to fail in court rather than push back against Trump’s well-known desire for revenge.

The president, emboldened by his success in bending the Justice Department and FBI to his will, has intensified his effort to deploy the vast arsenal of federal law enforcement to pursue his political agenda and personal grievances.

The department recently opened investigations into Democratic officials in Minnesota who opposed his immigration crackdown, and arrested journalist Don Lemon over his presence at a church protest in Minneapolis. Last week, the FBI searched an elections office in the Atlanta area based on debunked claims that the 2020 presidential election was stolen.

The case against the lawmakers was prompted by an online video organized by Slotkin, a former CIA analyst who served multiple tours in Iraq. It did not mention any specific order or military scenario. But it was released as Trump was authorizing strikes against suspected drug boats in the Caribbean and considered deploying active-duty military troops to American cities to quell protests.

The lawmakers took turns reading a statement in which they cautioned that the “threats to our Constitution aren’t just coming from abroad, but from right here at home.”

“Our laws are clear,” said Kelly, a Navy veteran and former astronaut. “You can refuse illegal orders.”