Elon Musk, co-founder and chief executive officer of Tesla Motors.Elon Musk, co-founder and chief executive officer of Tesla Motors.

The world's richest man doubled down on his vow to vote for Republicans as he blasted the Biden administration and Democrats on Friday.

Musk accused the Biden administration of doing everything it could to ignore the company, despite its dominance in the electric vehicle industry.

Musk, who is making an increasingly fraught attempt to buy Twitter for $44 billion, suggested Thursday that Democrats would target him with a smear campaign after he announced that he would vote for GOP candidates.

I used to vote Democrat because they were mostly the kindness party. They have become the party of division and hate so I will no longer support them and vote Republican.

He wrote, "Now, watch their dirty tricks campaign against me unfold."

Business Insider published a bombshell report that Musk exposed his genitals to a private jet flight attendant as he asked her for a full body massage. He offered to buy her a horse if she agreed to his sexual demands.

Musk denied the woman's claims. They were detailed in a written declaration from a friend of hers, submitted to bolster a complaint the woman made to the human resources department.

Business Insider reported that Musk's firm paid a woman $250,000 in severance in exchange for her silence after she complained about his conduct.

The attacks against me should be viewed through a political lens, but nothing will deter me from fighting for a good future and your right to free.

After Musk announced that he would vote Republican, Jon Favreau fired back at Musk, saying that he expected a dirty tricks campaign against him.

If you want to support a bunch of electric vehicle-hating climate deniers, that's on you.

I'm not sure that it helps the cause that you and your team have dedicated a lot of their lives to, but I guess you'll get some attention on social media.

Musk replied Friday, writing, "Hi Jon!" This administration has done everything it can to sideline and ignoreTesla, even though we have made twice as many EV as the rest of US industry combined.

At the All In Summit in Miami, Musk said he would classify himself as a moderate, not a Republican or Democrat, who voted for Democrats in the past.

I might never have voted Republican. This election? Musk said at the event that he would.

He said that the Democratic Party is overly controlled by the unions and the trial lawyers.

In August of last year, Musk had a beef with the Biden administration. He wasn't invited to the signing ceremony for the executive order that called for the sale of more electric vehicles, but executives from GM, Ford and Chrysler were.

It seems odd thatTesla wasn't invited.

In February, it was reported that Biden did not plan to invite Musk to White House meetings with corporate leaders.

In emails to CNBC, Musk said that Biden was ignoringTesla in favor of focusing on legacy automakers.

The idea of a feud is not right. Musk said in an email that Biden ignoredTesla at every turn and lied to the public that GM leads the electric car industry.

Senior Biden administration officials met with top auto executives, including Musk, about electric vehicle charging stations.

Additional reporting by Lora and Brian.