Updated July 25, 2019, at 7:15 p.m.:

A U.S. Border Patrol chief on Thursday testified before the House Judiciary Committee that 18-year-old Francisco Erwin Galicia never claimed to be a U.S. citizen when he was in Border Patrol custody for 23 days. But that contradicts a notice to appear in immigration court served to Galicia in which the Department of Homeland Security accused him of falsely claiming to be a U.S. citizen while in custody.

Updated July 24 at 6:26 p.m.:

Galicia says poor conditions he lived in while in the custody of U.S. Customs and Border Protection made him so desperate he almost opted to self-deport to Mexico even though he is a U.S. citizen.

Updated July 23, 2019, at 4:30 p.m.:

Francisco Erwin Galicia was released by Immigration and Customs Enforcement Tuesday afternoon, his mother Sanjuana Galicia confirmed to The Dallas Morning News. Read more here.

Original story from Tuesday, July 22:

An 18-year-old Dallas-born U.S. citizen has been in the custody of U.S. Customs and Border Protection and Immigration and Customs Enforcement for more than three weeks, his attorney says.

Now his family fears he may be deported.

Francisco Erwin Galicia was detained at a CBP checkpoint in Falfurrias on June 27, said Claudia Galan, his attorney.

Galicia was traveling with his 17-year-old brother Marlon Galicia and a group of friends from Edinburg where they live to Ranger College in North Texas for a soccer scouting event when they came upon a CBP checkpoint, said Sanjuana Galicia, his mother.

It was about 8 p.m. Marlon, who was born in Mexico and lacked legal status, had only been through a border checkpoint on school trips and had never been pressed to provide travel documents.

But this time was different, Marlon said. He had only a school ID. His brother was carrying only his Texas ID, which can only be obtained with a Social Security number.

“We were confident that we’d be able to pass. We were going to do something good for our futures,” he said. “I didn’t imagine this could happen and now I’m so sad that I’m not with my family,” Marlon said by phone from Reynosa, Mexico, where he is staying with his grandmother.

After two days in detention, Marlon signed a voluntary deportation form.

“I signed because I wanted to talk with my mom. Now, we just have to wait and see and hope that they release my brother,” Marlon said.

Francisco Galicia told his mother, who lives in Edinburg, that he was detained because he didn’t have his U.S. passport. But she said he did present CBP with his Texas ID.

Galicia wasn’t allowed to use the phone for the three weeks he was in CBP custody, Sanjuana said. But he has been able to make collect calls to his mother since since Saturday, when Galicia was transferred to ICE’s custody.

Galan said she met with CBP officers last week and presented them with Galicia’s birth certificate and some other documents but was unsuccessful in getting him released. She plans on presenting the same documents to ICE officers later this week.

“I presented then with his original birth certificate and other documents and they ignored them. So now I’ve faxed over all the documents to the ICE agent handling the case,” Galan said. “He’s going on a full month of being wrongfully detained. He’s a U.S. citizen and he needs to be released now.”

Francisco Erwin Galicia, in a photo shared with The Dallas Morning News by his mother, Sanjuana Galicia. Francisco Erwin Galicia, an 18-year-old Dallas-born U.S. citizen, has been in the custody of U.S. Customs and Border Protection and Immigration and Customs Enforcement for more than three weeks. He was detained at a CBP checkpoint in Falfurrias on June 27, said Claudia Galan, his attorney.

The Dallas Morning News reviewed a copy of the birth certificate and it lists Galicia as having been born at Parkland Memorial Hospital on December 24, 2000. Other documents include a congratulatory certificate his mother was given by hospital staff when he was born, a high school ID, and a health insurance card.

Galan said that the confusion from CBP may stem from the fact that Sanjuana solicited a visitors visa for Francisco when he was a minor and falsely claimed that he was born in Mexico.

CBP ran Francisco's fingerprints after he was detained, despite carrying a Texas ID, Social Security number and a copy of his birth certificate, and found that the visa had been issued for him years prior.

Galan said Sanjuana feared it was the only way she could get him back into the U.S. because she was unable to get Francisco a U.S. passport due to her lack of legal status.

But Galan says the mixup is no excuse to have held Francisco for more than three weeks and that this issue should have already been cleared up.

"His mom is desperate to get him back. The main focus right now is to get him released from custody and back with his family so this whole ordeal can be over," Galan said.

Neither ICE nor CBP responded to requests for comment.

The ICE detainee locator system shows Francisco is being held at the South Texas Detention Facility in Pearsall and lists him as being born in Mexico.

Sanjuana Galicia, Francisco’s mother, said she lived in Dallas from 1998-2001 and moved to South Texas after his birth.

“I need my son back,” she said. “I just want to prove to them that he is a citizen. He’s not a criminal or anything bad. He’s a good kid.”