MCALLEN, Texas (AP) — A legal advocacy group in Texas says an immigrant from Guatemala has been reunited with his 2-year-old daughter after being separated by authorities when they crossed the U.S.-Mexico border in July.

The Texas Civil Rights Project announced Saturday Mario Perez Domingo and his daughter were reunited after the results of a DNA test.

The two had been separated on July 7 after agents didn't believe he was the father, forcing him to submit DNA evidence to prove he was the parent.

U.S. Customs and Border Protection had said that under questioning, Perez admitted the child was his niece and a smuggler had given him a false document in their native Guatemala.

But the project says Perez speaks an indigenous language and agents didn't have an interpreter when they questioned him.