A Massachusetts man has been arrested after police rescued a dog that was chained to a metal rod on a shoreline and left to drown in the incoming tide last week, authorities said.

Elias Pacheco-Osario, 27, of Revere, was taken into custody on Friday following a days-long investigation, the Massachusetts State Police said.

TEXAS FIREFIGHTERS, POLICE RESCUE 15-YEAR-OLD DEAF DOG FROM STORM DRAIN IN DRAMATIC VIDEO

The investigation began after Trooper Carlo Mastromattei responded around noon on Aug.29 to a report of an abandoned dog tied to a pole along the shoreline at Short Beach in Revere, police said.

Massachusetts State Trooper Carlo Mastromattei helped rescue an abandoned pit bull mix that was chained to a metal rod on the shoreline of Short Beach in Revere and left to drown in the incoming tide.

Massachusetts State Trooper Carlo Mastromattei and Killer are pictured left at Ocean View Kennels in Revere, where the dog is being cared for. The piece of rebar on the shore where the dog was found chained is pictured right. (Massachusetts State Police)

The dog, a 50-pound male pit bull mix named Killer, was found with a thick metal chain around his neck and a heavy rock attached to it to prevent the animal from escaping, according to police.

Mastromattei found the dog in an area of the shoreline that can become completely submerged under the rising tide. Police said that the dog could have drowned in a matter of hours if he hadn’t been found.

DANA PERINO: GOODBYE, JASPER

Mastromattei learned that the suspect was a Hispanic male who lived nearby. Surveillance video from homes around Short Beach showed the male suspect walking the dog toward the beach. The dog in the footage had the same metal chain collar and leash found on Killer.

Troopers contacted Pacheco-Osario and interviewed him at the police barracks. During the interview, Pacheco-Osario told troopers that he was the dog’s owner and had walked him to the beach, where he tied the animal to the steel rod and walked away.

Pacheco-Osario said "he had decided he could not keep the dog any longer," according to police.

CLICK HERE TO GET THE FOX NEWS APP

Pacheco-Osario was arrested on a charge of animal cruelty. He was released on $340 bail and was arraigned in Chelsea District Court on Tuesday. 

Meanwhile, Killer was being cared for at Ocean View Kennels in Revere.