Follow CBSMIAMI.COM: Facebook | Twitter

MIAMI (CBSMiami) – A Florida officer stepped into action after he got the call that a young puppy was heard whimpering from inside a sweltering car.

READ MORE: 2 Hospitalized Following Shooting On Turnpike

“I can hear the dog but I can’t see it, and it’s in distress,” said Pensacola Police Officer Anthony Giorgio can be heard saying in his boycam video.

The temperature outside was 94 degrees with the heat index at a whopping 108 degrees that day.

A window was cracked but it wasn’t enough.

READ MORE: Miami Weather: Enjoy Cooler Temps, Warmer Trend On The Way

“I put my hand in the car and could feel that it was hotter inside the car than outside. I called my sergeant and let him know what I had and he instructed me to make entry and I broke the window with my police baton,” said Officer Giorgio.

With that, Officer Giorgio was able to save the little guy. It’s an act that makes Dr. Mark Sprayberry proud.

“I think he is a hero, and our police officers are our good friends, and they are here to help us, cause if he hadn’t, that puppy probably would have died,” said Sprayberry. “I was just appalled that someone would do that to an animal.”

Even with a cracked window, experts say the car is simply too hot a place to leave your pets. The tiny pup did survive, but its owners were cited by Animal Control.

MORE NEWS: Cold Fronts Bring More Than Just Cool Dry Air To South Florida

Officers say with a new law in effect in Florida, if you see someone or an animal, before you break a window, make sure they are in distress, before you find yourself in trouble with the law.