President Donald Trump issued a threat to foreign companies doing business in America on Sunday after Immigration and Customs Enforcement officials conducted a large-scale workplace raid in Georgia.

On Friday, 475 South Korean workers at a Hyundai plant in Georgia were detained as part of an immigration operation. South Korea chartered a flight home for the workers over the weekend, and NPR reported that the country's foreign minister is planning to visit the U.S. and discuss the operation with Trump.

Trump outlined his stance in a post on Truth Social on Sunday.

"Following the Immigration Enforcement Operation on the Hyundai Battery Plant in Georgia, I am hereby calling on all Foreign Companies investing in the United States to please respect our Nation’s Immigration Laws," Trump's post reads in part.

"Your Investments are welcome, and we encourage you to LEGALLY bring your very smart people, with great technical talent, to build World Class products, and we will make it quickly and legally possible for you to do so," the post adds. "What we ask in return is that you hire and train American Workers."

"Together, we will all work hard to make our Nation not only productive, but closer in unity than ever before," the post continues.