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 26-year-old man from Revere succumbed to his injuries following the attack off Newcomb Hollow Beach in Wellfleet at around noon, Wellfleet Police Lt. Michael Hurley 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 tried to make a tourniquet for the injured man's wounds, while others frantically called 911.Stunned onlookerHayley 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.''Lifesaving 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.It was the first fatal shark attack in Massachusetts since 1936, and the second shark attack this season.A 61-year-old New York man was severely injured Aug. 15 after fighting off a shark off Truro, about four miles north of Saturday's attack. He's recovering in a Boston hospital."Today is just keeping everyone out of water,'' Hurley said. "There'll be a determination later about what the town wants to do with the beaches going forward.''Busy dayBeachgoers said the Wellfleet beach is popular with surfers, and with sunny skies and warm temperatures Saturday it was busy, even though the summer season was over and lifeguards were no longer on watch.There have been frequent shark sightings this summer along the outer cape, often leading to beach closings. The National Park Service, which manages many of the picturesque beaches where white sharks tend to congregate, said it closed beaches for at least an hour about 25 times this year — more than double the annual average.A Cape Cod politician said officials who did not take more aggressive action against sharks bore some responsibility for the fatal attack. Barnstable County Commissioner Ron Beaty said he had warned something like this could happen and urged measures to reduce the number of white sharks.The state's last shark attack fatality was on July 25, 1936, when Joseph Troy Jr., 16, was bitten in waters off Mattapoisett. Troy, of Boston's Dorchester neighborhood, was visiting an uncle and was swimming about 50 feet offshore when the shark attacked.