A decades-long journey from a Texas zoo to a rural backyard came full circle when police located an alligator and returned it to the zoo where a gator egg went missing more than 20 years ago.

Investigators believe the alligator egg was taken from the Animal World & Snake Farm Zoo in New Braunfels. They believe the egg hatched into a female alligator that grew to be nearly 8 feet long before authorities discovered it in a Caldwell County woman’s backyard while they were in the area for a separate incident, Texas Game Wardens public information officer Jen Shugert told USA TODAY.

The woman, who has not been identified by name, told officials that she had acquired the alligator egg at the Animal World & Snake Farm Zoo.

The woman told Jarrod Forthman, the zoo’s director, that “she stuck (the egg) in her pocket… and walked out the door” while volunteering at the zoo more than 20 years ago, Forthman told USA TODAY. “I guess she essentially confessed to stealing it.”

The woman cared for the alligator well, both Shugert and Forthman said, and the animal was in good health when officials found it. But she was unable meet the requirements for permits needed to keep the reptile. 

“The owner fed it well (and) it was healthy by everyone’s standards. It had just outgrown its habitat, unfortunately,” Shugert said.

‘A gator just bit me’:An alligator attacked him on his front porch. Florida man shares his story. 

More:Alligator on a leash surprises park-goers in Philly. It was Wally the emotional support gator.  

So, it was time to find the gator a new home – and officials decided to relocate it to the same zoo that the egg originated from.

After several weeks of preparations, officials from the Texas Parks and Wildlife Department and Animal World & Snake Farm Zoo moved the gator to the zoo on Friday.