Officers responded to a call around 1 p.m. Sunday following reports of a person in the water. After borrowing a dog leash from a woman on the scene, they carefully made their way out onto the ice, mindful that they could fall in too.

"He started yelling, 'help me, help me,'" CPD Officer Miguel Del Toro said during a press conference. "We ended up crawling on our knees over the ice ridge to get to him."

CPD Sergeant Alex Silva throws a dog leash to help a man trapped beneath a tall wall of ice along the edge of Lake Michigan on January 27, 2019.

While the Chicago Fire Department usually handles water rescues, officers from the Lincoln District patrol about two miles of beachfront and average four water rescues a year.

"I know that in cold water, the time that we got there, that this guy's not gonna last a few more minutes," CPD Sergeant Alex Silva said.

As the video shows, officers threw the leash to the man to help him move to the edge of the ridge. After he struggled to pull himself up, Silva reached out and grabbed him by the hand. Silva said other officers grabbed onto his and each other's belts, forming a human chain before helping the man pull himself up.

"He was exhausted, and I remember shouting out to him, you're going to have to pull yourself up, and he did," CPD Officer Adam Ocampo said.

Officer Miguel del Toro sits with a man after officers pulled him from Lake Michigan near Foster Beach on January 27, 2019.

After the ordeal the man was thankful to reunite with his dog inside a warm police car. He was taken to a nearby hospital in good condition. While the man asked to remain anonymous, he released a statement detailing the day's events and thanking the officers who saved his life.

He said it was his first visit to the park with his nine-month-old American Eskimo mix Pika, and after the dog got away from him, he ended up running to the edge of the ice ridge and falling into Lake Michigan. After jumping into the waist-deep water to grab the dog, he said he looked to find a way out — and was trapped.

"Ice walls that rose two feet above my head stretched across the entire shore, trapping us in the water. I looked for a possible exit but could not find one," he wrote.

After realizing he couldn't grip the sheer ice walls, the man said he called 911 on his cell phone, but a bystander had already contacted nearby officers after seeing him jump into the water.

"I have no doubt that I would have died without help, I am forever grateful to them," he wrote. "Pika and I are both fully recovered and in debt to our gracious and heroic first responders. "

An officer carries nine-month-old American Eskimo mix Pika after officers rescued the dog's owner, who became trapped in Lake Michigan after jumping in to save the puppy.

Officer Silva now says he keeps a leash in his bag, in case the occasion ever rises again. The dog owner cautioned others to be careful with their pets near the shoreline, especially in these current icy conditions.

"I’ve seen many ice formations in my nearly 7 years of visiting these beaches in the winter, but these ice walls are the tallest and most shear I’ve ever seen," he wrote.

This story had a happy ending, but police say if this happens to your pet, don't try to be a hero, and instead call 911 for assistance.