RAYMONDVILLE, Texas — As many as 2,800 federal prisoners will be moved to other institutions after inmates seized control of part of a prison in South Texas, causing damage that made the facility “uninhabitable,” an official said Saturday.

Ed Ross, a spokesman for the U.S. Bureau of Prisons, said the inmates who had taken control are “now compliant” but that negotiations were ongoing Saturday at the Willacy County Correctional Center.

“The situation is not resolved, though we’re moving toward a peaceful resolution,” FBI spokesman Erik Vasys said.

Sheriff Larry Spence said there were no hostages involved and only minor injuries reported. But pence said the inmates “have pipes they can use as weapons.”