Just when the state’s seaside communities thought they had avoided having to dispose of a dead finback whale, it seems the picturesque town of Rockport has won the “reverse lottery” — the deteriorating carcass, which spent most of October drifting around Boston Harbor, has washed up on its shores.

Town workers have gone to the site of the whale’s current resting place, just north of Pebble Beach off of Penzance Road, to assess the rocky conditions in the area and determine the best way to bury the carcass.

It isn’t the first dead whale to wash up in town.

Advertisement - Continue Reading Below

“We always seem to be the fortunate ones,” said Joe Parisi, public works director, adding that his workers had recently buried a walrus and had dealt with another whale in the past. “One day it’s out floating, the next thing you know it’s in your backyard.”

The 50-foot finback was confirmed by the New England Aquarium to be the same one that has been making its way around Massachusetts waters.

“The staff came up to take a quick look, but they didn’t do anything further,” said aquarium spokesman Tony LaCasse. “It’s beaten up enough, and the tissue is deteriorated. So the value to the aquarium [for necropsy] is very low.”

Throughout the whale’s travels, the aquarium had taken the role of “whale medical examiner.” It wanted to perform a necropsy when the whale first washed earlier this month, LaCasse said. But the finback floated off and kept drifting to shores that were not accessible enough to biologists to perform the exam.

Rockport officials hope to bury the carcass, but since the area is full of pebbles and cobblestones, it might be difficult, Parisi said.

“We had this experience before, so it doesn’t become a difficult challenge other than where it’s located. And the size,” said Parisi. “We’ll figure out how to properly dispose of it.”