A man and his child were dramatically rescued from the roof of a car as flash floods barraged Arizona.

The terrified family was rescued early Monday morning after their vehicle became trapped in floodwaters. 

Heartbreaking footage posted by the Pinal County Sheriff's Office captured the terrifying scene in Eloy – near Battaglia Road and Highway 87.

The father closely hugged his son as sweeping floodwaters surrounded their car, leaving only a smidge of the roof visible.

They were 'clinging desperately' to the top of their nearly submerged car, as multiple agencies rushed to the rescue.

Dramatic images shared by the Eloy Fire District showed how a firefighter used a ladder truck to get the tiny infant to safety.

His father sat below on the roof of his vehicle, 'stuck' and completely surrounded by water.

The terrifying scene happened in Eloy, Arizona, near Battaglia Road and Highway 87

The terrifying scene happened in Eloy, Arizona, near Battaglia Road and Highway 87

The family was rescued Monday morning after their car became submerged in flash floods

The family was rescued Monday morning after their car became submerged in flash floods

Images posted by the Eloy Fire District showed a firefighter using a ladder to get the baby to dry land

Images posted by the Eloy Fire District showed a firefighter using a ladder to get the baby to dry land

Faces were blurred for privacy reasons, the Eloy Fire District said.   

The family was rescued by firefighters and subsequently treated for 'possible injuries.'

The Daily Mail reached out to the Eloy Fire District for further comment on the family's condition.

The scary situation ensued after the father 'drove past the barricades blocking the flooding intersection,' according to the Eloy Police Department.

That resulted in an all–hands–on–deck approach, as the Eloy Fire District, Pinal County Sheriff's Office Search and Rescue, Casa Grande Fire Department and Eloy Police Department raced to the scene. 

Police added: 'Please don't ignore these signs, keep yourself and your families safe.'

Reactions on social media ranged from relief at the rescue to disbelief at the predicament.

One person said: 'Thank God they were rescued, this could have had a much different outcome! 

The Eloy Police Department said the father 'drove past the barricades blocking the flooding intersection'

The Eloy Police Department said the father 'drove past the barricades blocking the flooding intersection'

The family was rescued by firefighters and treated for 'possible injuries'

The family was rescued by firefighters and treated for 'possible injuries'

'Thank you to the men and women who answer the call daily, your service and commitment is greatly appreciated! God bless and stay safe!'

Another wrote: 'Regardless of the mistake that was made, the most important thing is, they are both ok and alive.'

Someone else shared: 'There really are other ways to learn how to swim. Thanks to all the first responders for putting their lives on the line to rescue those in need.'

The National Weather Service in Phoenix issued a severe thunderstorm warning for Pinal County on Monday. 

The thunderstorm was expected to have wind gusts moving at 60 miles per hour, as well as 'quarter size' hail. 

The storm was expected to damage vehicles, roofs, siding and trees. 

Eloy is about 65 miles from Phoenix and has a population of about 16,000. 

Rescuers also saved two other trapped motorists Monday evening on Milligan Road east of Highway 87, the Eloy Fire District said.

The dangerous storm had stopped by Tuesday afternoon.