Story highlights Girl, 10, who underwent emergency gallbladder surgery was detained

The girl, who has cerebral palsy, has been reunited with her family, attorney says

(CNN) An undocumented 10-year-old girl with cerebral palsy who was detained last month after emergency gallbladder surgery in Texas has been released and reunited with her family, her attorney, Leticia Gonzalez, said Saturday.

Rosa Maria Hernandez was taken into US Customs and Border Protection custody October 24 after her ambulance was stopped at a Border Patrol checkpoint.

Border Patrol agents determined that Rosa Maria was undocumented and followed her and a cousin accompanying her in the ambulance to the hospital, where the girl underwent surgery. The agents remained at the hospital until she was discharged into their custody, Gonzalez said at the time.

It is unclear whether the child's release means she will be able to avoid deportation, said US Rep. Joaquin Castro, a Texas Democrat.

Finally, Rosa Maria is back with her family where she belongs. @DHSgov should take steps to ensure a case like hers never happens again. pic.twitter.com/VWqWvfg73G — Joaquin Castro (@JoaquinCastrotx) November 3, 2017

"While this is welcome news, Rosa Maria's future remains uncertain," the lawmaker said. "The Trump administration has not made clear whether (it) will proceed with deportation proceedings against her. I continue to call for Rosa Maria's case to be administratively closed."

Read More