If there wasn't a word for that before, there is now. It's called Pulling a James Comey.
To which I reply, gimme a break, James Comey. You were the one who greatly helped Donald Trump get elected by your deliberate breach of FBI and Justice Department regulations to Trump's advantage during the 2016 Presidential election.
In the summer of 2016, after the Federal Bureau of Investigation had finished investigating whether there was any illegality in Hillary Clinton's use of her private email server for government business,
It should have been up to Attorney General Loretta Lynch to share with the public conclusions reached by the Justice Department.
But far worse than James Comey's first violation of Justice Department rules to benefit Donald Trump was his second violation, ten days before the 2016 election, when he publicly announced that the Clinton email case was being re-opened because some emails she'd sent to her aide Huma Abedin had shown up on the computer of Abedin's scandal-ridden husband, Anthony Wiener.
Nothing of importance was found among the emails and the case was closed a week later, three days before the election. But the dropping of that 11th-hour bomb shell proved disastrous to Hillary Clinton.
Now, it just so happens that while the FBI was investigating Hillary Clinton's use of her private email server, the agency was also investigating Donald Trump's campaign for possible collusion with the Russian government. But the existence of this investigation James Comey chose not to share with the public prior to the election. He chose only to share the Clinton investigation, to the misfortune of Hillary Clinton and our country.
James Comey has subsequently admitted that he handled the Clinton email investigation as he did because he was sure that Hillary Clinton was going to win the 2016 Presidential election.
After all, he already knew that Donald Trump was a chronic liar who repeatedly attacked the rule of law.
That's not justice. That's hubris. Which is also what Pulling a James Comey is.