Emergency crews saved an 18-month-old boy Monday after an employee with the Texas Department of Family and Protective Services accidentally locked him in her car, according to multiple reports.

The employee was parked outside the Corpus Christi office for the Texas Department of Family and Protective Services around 11 a.m. Monday, where temperatures were measured at 95 degrees, KRIS reported. She ran into the office and found a police detective who works inside. He was able to break the child out.

The boy was covered with sweat and had a temperature nearing 100 degrees when paramedics arrived, according to KZTV.

Corpus Christi Fire Department Capt. Jeff Durrwachter told KZTV the boy was only in the car for about five minutes.

"Within a short period of time, a locked vehicle can easily get over 100 degrees and children, unfortunately, are not made to deal with the environment as much as an adult is," he said. "So, they can overheat very quickly."

The child was put into an air-conditioned vehicle and given water after he was released, Durrwachter told KRIS.

"As soon as we arrived, we were able to cool him down," he told the news station. "He responded just fine. He was drinking water out of a bottle and he was doing great."

The boy has since been released back to Child Protective Services.