(CNN) An inmate in southern Florida used his criminal skills for a good cause.

He and a group of four other low-level offenders in Pasco County, near Tampa, broke into an SUV on Thursday to rescue a 1-year-old girl who was accidentally locked in, according to CNN affiliate KABC-TV

The mother of the child, Shadow Lantry, recorded the rescue operation and posted it on Facebook . The video has garnered more than 4,000 views, and shows the inmates in their prison garb using a clothes hanger to jimmy the lock of the Chevy Tahoe.

Lantry told CNN affiliate WFTS-TV the incident began when the child's father strapped the girl into a car seat in the back of the SUV and tossed the keys to the front seat. When he closed the back door, he realized the Tahoe was locked.

The inmates were repairing medians nearby when they and deputies rushed to help, KABC said. Lantry said in her Facebook video the entire operation took about five minutes and the baby was not hurt.

Read More