New York (CNN Business) After a months-long back and forth with the White House, Apple announced Monday it will keep production of the newest Mac Pro computer in Austin, Texas.

Apple said it was able to continue making the computer in the United States thanks to a federal tariff exclusion it received for several key parts of the device.

Apple AAPL Over the summer, reports indicated Apple may move assembly of the product to China due to the US-China trade war.has been making the Mac Pro in Texas since 2013.

Apple needs components from China to make the Mac Pro, but the parts are made more expensive by US tariffs on Chinese goods. Over the weekend, the Trump administration granted Apple an exemption from tariffs on the necessary Chinese components for the Mac Pro.

The announcement is likely to be welcome news to President Donald Trump, who has been pushing tech companies to repatriate much of their manufacturing. The Mac Pro, however, is a relatively niche product that starts at $6,000 and is designed for professional users who need it for production rendering and video editing. Manufacturing of most of Apple's products -- in particular the iPhone, which generates around half of the company's total revenue -- is likely to remain in China.