President Joe Biden recently criticized Elon Musk during a campaign event, claiming that the Tesla CEO once worked illegally while in America on a student visa.

Biden’s remarks came after a news report claiming that Musk arrived in California in 1995 for a graduate program but never even attended his classes. Instead, he focused on his startup business ventures, per AP News.

“That wealthiest man in the world turned out to be an illegal worker here. No, I’m serious. He was supposed to be in school when he came on a student visa. He wasn’t in school. He was violating the law. And he’s talking about all these illegals coming our way?” Biden said, addressing his supporters at a Pittsburgh union hall.

This recent critique of Musk’s journey seems like a stark contradiction to the current president’s appreciation for illegal aliens’ rights within America’s collegiate system.

For example, on June 18, the Biden Administration announced a new immigration policy designed to offer “more options” for undocumented individuals and spouses of U.S. citizens, according to the University of California at Berkley.

CLICK HERE TO GET THE DALLAS EXPRESS APP

This policy from the current president enabled eligible individuals to obtain “nonimmigrant” work visas quickly.

Additionally, the policy focused on protecting DACA recipients and undocumented individuals who hold a degree from an accredited U.S. college and have received a job offer in their field. It also applied certain protections to undocumented spouses of U.S. citizens who have lived in the U.S. for at least 10 years or met other specified criteria.

In response to the accusations, Musk denied them on social media, posting, “I was in fact allowed to work in the U.S…The Biden puppet is lying.”

The Washington Post initially claimed in its report that investors in Musk’s early business venture, specifically Zip2, worried about his immigration status, which prompted him to seek a work visa.

Musk’s emails allegedly indicated that he had applied to Stanford to maintain his legal residency in America at the time.

The emails in question, according to A.P. News, were presented as evidence in a defamation lawsuit in California that has since ended without much noise. That lawsuit, however, also heavily focused on the idea that Musk had primarily sought admission to Stanford to keep his legal residency status in the U.S.

As Election Day closes in, Musk has become a prominent backer of many Republican candidates, including former President Donald Trump, who has hinted at a potential role for Musk in his presidential administration if re-elected.

Initially doubtful about Trump, Musk has now thrown his full support behind the 45th  president, actively campaigning alongside him and donating $75 million to a pro-Trump Super PAC, as previously reported by The Dallas Express.

Musk made his first public appearance since his endorsement during a Trump campaign event on October 5. He told the audience, “It’s crucial for President Trump to win to protect the Constitution and uphold democracy in America… This is a situation we must win.”