Four baboons are safe after they escaped from a primate research facility Saturday.

The baboons left their enclosure and got out of the perimeter fence of the Southwest National Primate Research Center in San Antonio, according to WOAI.

Three of the baboons were caught within 30 minutes. KSAT reported that the fourth went back to the enclosure.

"Our immediate concern has been for the safety of the animals, personnel and our neighbors in the surrounding area," the Texas Biomedical Research Institute said in a statement, according to KSAT. "Our animal capture team and entire animal care team acted diligently to locate, secure and account for all four baboons."

The institute said veterinary staff checked out the baboons and they are doing well.