This is the unexpected moment a group of Florida criminals save the day by breaking into a stranger's car.

Five inmates on work duty in New Port Richey stepped in to help a desperate dad who had accidentally locked his keys inside his car while his one-year-old daughter was in the backseat.

The jail jumpsuit-clad crew can be seen threading a wire coat hanger through the driver's side door in video filmed by the baby's mom, Shadow Lantry.

Dad Joe Lantry looks through the window trying to keep daughter Dallas calm while the inmates try to spring the lock.

Five inmates on work duty in New Port Richey, Florida, stepped in to help a forgetful father who accidentally locked his keys in his SUV while his one-year-old daughter was in the backseat

Video shows dad Joe Lantry watching as the jail jumpsuit-clad inmates thread a wire coat hanger through the driver's side door of his car to spring open the lock. While they work he peeks through the window to keep his daughter Dallas calm

It took the unlikely group of Good Samaritans around two minutes to open the car door and rescue Dallas, who appeared unfazed in the video recorded by her mom, Shadow Lantry

A small crowd had gathered around the dark blue SUV after noticing the Lantrys' predicament, drawing the attention of deputies supervising the inmates as they repaired medians outside the West Pasco Judicial Center.

Though Thursday's forecasted high in New Port Richey was a mild 72 degrees, the car's interior could have reached upwards of 100 degrees in just half an hour as the sun beat down.

It took the unlikely group of Good Samaritans around two minutes to open the car door, eliciting cheers from onlookers.

It's unclear how long Dallas was in the car, but her parents confirmed she is doing just fine.

Speaking to local news station WBBH, Pasco County Sheriff Chris Nocco said this was one case where the inmates' unlikely 'skill set' came in handy.

'No, only when a deputy is around and we give permission can you break into that car,' Nocco joked.

'Our trustees are people who have made mistakes, we're trying to rehabilitate them to get back into society,' he said of the low-risk offenders.

'A lot of them, like these individuals, they know they made bad mistakes, bad choices, but they want to do the right thing in life.'

Dallas' parents confirmed the one-year-old is doing just fine after the incident on Thursday