CAPE COD (CBS) — A young humpback whale was freed from a complex entanglement line Saturday afternoon in Cape Cod Bay.

On their Facebook page, the Center for Coastal Studies’ says their marine animal entanglement response team disentangled the whale after it was reported to the US Coast Guard by recreational boaters off Wood End in Provincetown.

READ MORE: Boston Firefighters Save 90-Year-Old Woman From Brighton Apartment Building Fire

A young humpback whale was freed from an entanglement Saturday at Cape Cod Bay. (Photo credit: Center for Coastal Studies/Facebook)

A young humpback whale was freed from an entanglement Saturday at Cape Cod Bay. (Image credit: Center for Coastal Studies)

READ MORE: December Weather Preview: Could Boston Have A White Christmas?

Officials say a line attached to gear on the ocean floor was wrapped around the whale’s mouth and flippers. While the “extremely agitated” animal could still dive, it was unable to free itself, officials said.

It took nearly two hours for the team to free the whale.

MORE NEWS: Coronavirus In Massachusetts: Today's Developments

The Coast Guard and Dolphin Fleet helped out with the response.