President Donald Trump posted a video attacking Sen. Mitt Romney over Romney's decision to vote in favor of convicting Trump of abuse of power on Wednesday.

Romney was the only GOP senator to go against Trump, who was acquitted of both impeachment charges he faced.

The video posted by Trump included footage of Romney praising Trump and failing to win the 2012 presidential election.

"Corrupting an election to keep oneself in office is perhaps the most abusive and destructive violation of one's oath of office that I can imagine," Romney said in a speech explaining his decision.

Visit Business Insider's homepage for more stories.

President Donald Trump on Wednesday posted a video attacking Republican Sen. Mitt Romney after his stunning vote to convict the president of abuse of power at his Senate impeachment trial.

Romney was the only Republican to vote in favor of convicting Trump of abuse of power, though he joined the rest of the GOP in voting to acquit Trump of obstruction of Congress. Trump was acquitted of both charges.

The Utah Republican was the first senator in US history to cast an impeachment vote in favor of removing a president from his or her party.

Here is the video:

The video is a spliced-together collection of news clips, which at one point described Romney as "a Democrat secret asset."

It juxtaposes footage of Romney publicly praising Trump shortly after the 2016 election with narration describing how Romney later turned on the president.

It also includes news footage of Romney failing to beat President Barack Obama for the presidency in 2012, followed by footage of Trump beating Hillary Clinton for president in 2016, a moment Trump has returned to often on social media.

Romney in an impassioned speech on the Senate floor before the vote said he was compelled to vote for Trump's conviction despite agreeing with many of his actions as president.

Romney said he could not ignore the oath of impartiality he took at the start of the trial. He said his faith compelled him to make an extraordinary break with his party.

Romney condemned Trump for his effort to urge Ukraine to launch investigations into political rivals, including former Vice President Joe Biden, who is a leading contender for the 2020 Democratic presidential nomination.

"Corrupting an election to keep oneself in office is perhaps the most abusive and destructive violation of one's oath of office that I can imagine," Romney said.

Romney was promptly praised by Democrats while facing swift criticism from fellow Republicans after announcing his decision.

"I sat silently across the chamber, listening to my friend give one of the most important speeches I have ever had the good fortune to hear in person," Democratic Sen. Chris Murphy of Connecticut tweeted. "At a time when many wonder what honor is left in public life, there stands Mitt Romney."

Comparatively, Ronna McDaniel, the chair of the Republican National Committee and Romney's niece, in a statement said: "This is not the first time I've disagreed with Mitt, and I imagine it will not be the last. The bottom line is President Trump did nothing wrong, and the Republican Party is more united than ever behind him."

Donald Trump Jr., the president's eldest son, called for Romney to be "expelled" from the Republican Party.

The House passed two articles of impeachment against Trump on December 18, one charging him with abuse of power over his dealings with Ukraine and the other charging him with obstruction of Congress over his efforts to stonewall the impeachment inquiry. Trump froze almost $400 million in crucial military aid to Ukraine, which is at war with pro-Russian separatists, as he sought to pressure Kyiv into helping him dig up dirt on his political opponents.

Democrats essentially accused Trump of using congressionally approved security assistance to extort Ukraine with the goal of soliciting foreign election interference.

The impeachment proceedings spiraled out of a whistleblower complaint centered on a July 25 phone call in which Trump urged Ukrainian President Volodymyr Zelensky to launch investigations into former Vice President Joe Biden and his son Hunter Biden as well as into a debunked conspiracy theory linked to the 2016 election.

The president wanted Zelensky to announce investigations into the Bidens in relation to Hunter's work for Burisma Holdings, a Ukrainian natural-gas company, despite no evidence of wrongdoing or illegal activity on the part of the former vice president or his son with regard to Ukraine.

Documents and witness testimony gathered in the impeachment inquiry revealed a broad effort to pressure Ukraine that was engineered by Trump's personal lawyer Rudy Giuliani and went well beyond the July 25 phone call.

Trump has maintained he did nothing wrong and has continued to call his July 25 conversation with Zelensky a "perfect" call.