While Washington was aflame Wednesday with some of the most dramatic testimony of the ongoing impeachment inquiry, President Donald Trump was in Austin, Texas, taking credit for the launch of a Mac factory that opened three years before his election.

Standing on the floor of Apple’s Mac Pro facility, Trump said, “We’re seeing the beginning of a very powerful and important plant.” He later tweeted that he himself opened “a major Apple Manufacturing plant in Texas that will bring high paying jobs back to America.” Treasury Secretary Steven Mnuchin and Ivanka Trump joined him on the tour.

But Apple has been assembling computers in Austin since 2013 at a plant that’s owned by Flex, one of its contractors. Trump made his remarks as the company’s chief executive, Tim Cook, stood by without setting the president straight.

On Thursday morning, Trump tweeted that during his visit to Austin “for the start-up of the new Mac Pro . . . I asked Tim Cook to see if he could get Apple involved in building 5G in the U.S.” Apple did not immediately respond to a request for comment on those discussions.

Apple does have plans for a new center in Austin, but that facility isn’t Trump’s handiwork, either. On Wednesday, the company announced it had broken ground on a $1 billion, 3 million-square-foot campus that is expected to open in 2022 and initially house 5,000 employees. Apple currently has about 7,000 employees in Austin.

Trump’s ongoing trade war with China cast doubt earlier this year on whether Apple’s top-of-the-line computer would be assembled in the Lone Star State. Trump has publicly urged the company, which makes the vast majority of its products in China, to build on home soil. In July, he tweeted that “Apple will not be given Tariff waiver, or relief, for Mac Pro parts that are made in China. Make them in the USA, no Tariffs!”

But in September, the White House exempted certain Chinese-made components used in the Mac Pro from the levies. The exemption allowed Apple to assemble the Mac Pro within the United States.

Still, Trump’s at times contradictory and impossible-to-anticipate trade policies with China have jostled Apple’s stock price. And the lack of a trade deal leaves Apple’s other products, including the iPhone, vulnerable to other restrictions.

Cook and Trump have clashed on issues like the environment and immigration. But Cook has been able to shield Apple from Trump’s trade agenda. At the Austin facility, Trump described Cook as “a very special person,” and Cook later thanked the president and his advisers for their “support in pulling today off and getting us this far. It would not be possible without them.”

Yet perhaps it would. In December 2013, Cook tweeted that Apple had “begun manufacturing the Mac Pro in Austin. It’s the most powerful Mac ever. Orders start tomorrow.” Then-Texas Gov. Rick Perry, R, now energy secretary, tweeted back with his own congratulations.

Trump was tweeting that day, too. He typed out a line from his book, “Trump: Think Like a Billionaire: Everything You Need to Know About Success, Real Estate, and Life.”

“If you want the best, you’d better be the best – in all aspects of business,” Trump wrote.

There was no mention of Apple.

Only subscribers are eligible to post comments. Please subscribe or to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.