President Donald Trump made an inaccurate claim Wednesday night following his tour of an Apple (AAPL) - Get Report manufacturing facility in Austin, Texas on Thursday, saying in a speech and on Twitter that he was responsible for opening the plant when it had actually first opened during the Obama administration in 2013.

Trump toured the plant with Apple CEO Tim Cook Wednesday, the same day Apple announced that it is building a new facility in Austin. 

"We're seeing the beginning of a very powerful and important plant. Anybody that followed my campaign, I would always talk about Apple, that I want to see Apple building plants in the United States. And that's what's happening," Trump told the crowd at the plant Wednesday. 

But the plant Trump was standing in is actually operated by an Apple contractor named Flex Ltd. And the new facility Apple is building in Austin isn't a manufacturing plant, but a corporate campus similar to the one that Apple has at its headquarters in Cupertino, Calif., according to The Verge.

In comments made in Austin after Trump spoke, Apple CEO Tim Cook did not correct Trump's false assertion, perhaps reflecting the fact that Apple is in the midst of trying to convince Trump to exempt Apple from tariffs on imports from China that are scheduled to go into effect on Dec. 15. Apple assembles the majority of its iPhones and other products in China and would be significantly impacted by the new tariffs. 

While the factory is not new, Apple did, however, receive exemptions from tariffs on Chinese-made components in order to continue making Mac Pros in Texas, according to the New York Times.

This isn't the first time Trump has taken erroneous credit for opening the facility. The Verge reported that Trump has repeatedly made the same claim at numerous rallies, telling supporters that his pressure caused Apple to open the facility in the U.S.

Apple is a holding in Jim Cramer's Action Alerts PLUS charitable trust. Want to be alerted before Jim Cramer buys or sells AAPL? Learn more now.