MYRTLE BEACH - Authorities say a pygmy sperm whale washed ashore on Myrtle Beach and had to be put to death.

Police say the whale washed onto the beach Sunday evening.

A veterinarian was called and determined the whale was too sick to rehabilitate. But it took several hours, and police say beachgoers were unhappy that so little was being done.

Police say state and federal laws prevent people who aren't experts from handling beached whales because they can spread disease or hurt others.

Authorities plan to test the whale's remains to see how it died.

A whale washed ashore Saturday on Hilton Head Island and was euthanized after it was attacked by a shark.