The Papua New Guinea authorities cleared the Manus Island detention center Friday, sending hundreds of asylum seekers to new facilities on the island and ending the standoff that had been escalating since Australia decommissioned the center on Oct. 31.

Video footage from inside the camp on Thursday showed scenes of chaos. With asylum seekers screaming, immigration officials could be seen using long metal poles to rifle through the men’s belongings and push them from the camp where they have been living since they were first placed on Manus by Australia in 2013.

On Friday, the police said 328 holdouts had been removed and sent to three alternative centers closer to the island’s main town of Lorengau.