This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

SAN DIEGO (KSWB) — A 25-year-old man was arrested Friday after police say he and his 2-year-old daughter made it “well inside” the elephant exhibit at the San Diego Zoo.

Zoo officials said the father “purposely and illegally trespassed” when he brought the toddler beyond multiple barriers and into the habitat for the zoo’s Asian and African elephants. At least one of the elephants spotted the people and charged at them, according to the San Diego Police Department.

The incident was reported to authorities at about 4:20 p.m.

“San Diego Zoo security promptly responded to the incident, but the guests had already exited the habitat,” zoo officials said in a news release.

Both guests and the elephants in the enclosure were unharmed in the incident, police and zoo officials said. The man, who was not publicly identified by police, was arrested on suspicion of child endangerment and for entering an animal enclosure.

Police remained at the zoo Friday evening investigating the incident.