A South Korean charter plane left for the U.S. on Wednesday to bring back Korean workers detained in an immigration raid in the state of Georgia.

A total of 475 workers, more than 300 of them South Koreans, were rounded up in the Sept. 4 raid at the battery factory under construction at Hyundai’s sprawling auto plant west of Savannah, Georgia. Some were shown being shackled with chains around their hands, ankles and waists in video released by U.S. authorities.

South Korea’s government later said it reached an agreement with the U.S. for the release of the workers.

Local TV footage showed a plane taking off at Incheon International Airport, just west of Seoul, Wednesday morning.

South Korean media reported the plane will return to South Korea with the detained workers on Thursday afternoon.

It was the Homeland Security agency’s largest workplace raid yet as it pursues its mass deportation agenda.

Only weeks ago, South Korea promised hundreds of billions in U.S. investments to reach a tariff deal. President Donald Trump and President Lee Jae Myung held their first summit in Washington on August 25.