Myrtle Beach Police responded to reports of a beached whale near 19th Avenue North Sunday evening.
The pygmy sperm whale washed ashore just north of Pier 19 in front of the Sandcastle Resort.
Six officers were dispatched to handle the situation, according to MBPD.
Meanwhile, hundreds of people gathered on the beach to see what officials were going to do with the whale.
Police were not able to return the whale to the ocean because of state and federal laws.
The whale, which was still alive several hours after it was beached, was sedated and eventually euthanized because it was too sick to rehabilitate.
Pygmy sperm whales often beach themselves when sick or near death, according to officials on scene.
Another pygmy sperm whale was euthanized Saturday in Hilton Head Island.
It washed ashore after being attacked by a shark.