A plane carrying more than 300 South Korean workers released after days of detention in the U.S. state of Georgia landed in South Korea on Friday.

The charter plane, a Boeing 747-8i from Korean Air, landed in Incheon International Airport, just west of Seoul, in the afternoon local time.

They were among about 475 people detained during the Sept. 4 immigration raid at a battery factory under construction on the campus of Hyundai’s sprawling auto plant west of Savannah.

The U.S. release of video showing some Korean workers shackled with chains around their hands, ankles and waists has caused public outrage in South Korea, a key U.S. ally.

South Korea later said it has a reached an agreement with the United States for the Korean workers’ releases.

The workers had been held at an immigration detention center in Folkston, 285 miles (460 kilometers) southeast of Atlanta. After their releases from the detention center, they were bused to Atlanta to board the charter plane.

AP Video by Yong Ho Kim