HYANNIS, Massachusetts - A man was bitten by a shark Saturday in the water off a Cape Cod beach and died later at a hospital, becoming the state's first shark attack fatality in more than 80 years. 

The man, identified by Cape and Islands Assistant District Attorney Tara Miltimore as 26-year-old Arthur Medici of Revere, was attacked around noon off Newcomb Hollow Beach, police said. 

Joe Booth, a local fisherman and surfer, said he was on shore when he saw the man and his friend boogie boarding when the attack happened. 

He said he saw the man aggressively kick something behind him and a flicker of a tail from the water. He realized what was happening when the friend came ashore dragging his injured friend.

"I was that guy on the beach screaming, 'Shark, shark!" Booth said. "It was like right out of that movie Jaws. This has turned into Amity Island real quick out here." 

Booth said others on the beach attempted to make a tourniquet while others frantically called 911. 

Hayley Williamson, a Cape Cod resident and former lifeguard who was on the beach at the time, was in disbelief after the man was rushed into an ambulance. 

"We've been surfing all morning right here and they were just further down," she said of the two boogie boarders. "Right spot, wrong time, I guess." 

Life-saving measures were attempted on the beach before the man was taken to Cape Cod Hospital in Hyannis, where he was pronounced dead, State Police spokesman David Procopio said. The beach has been closed to swimming. 

The family of the victim was notified of the death but his name was not released, Procopio said. 

The Associated Press contributed to this report.