Arthur Medici, 26, of Revere in MA in the US died at Cape Cod Hospital in Hyannis after he was given first aid and CPR.
The US National Park Service said it closed beaches for at least an hour about 25 times this year, which is double the annual average. He said the victim aggressively kicked something behind him then he saw a flicker of a tail in the water.
The friend dragged him ashore, and people on the beach attempted life-saving measures including CPR and applying tourniquets.
"I was that guy on the beach screaming, 'Shark, shark!"
"It was like right out of that movie Jaws".
The man, who had been boogie-boarding with another person, according to the Associated Press, was sent to Cape Cod Hospital, where he later died, Hurley said.
Shark experts think he was attacked by a white shark similar to those in California.
Google will consign Inbox app to the knackers yard come March 2019
The sent link leaves your mailbox from where the recipient is able to access it via his Gmail account or another email service . Over the years, Inbox became a testing ground for features that include the Smart Reply , which later made its way into Gmail.
The beach where Medici was boogie boarding has a sign warning of the potential dangers of the water that urges swimmers to "Be Shark Smart".
It is the first shark-attack related death in over 80 years. "There are more sharks because of the human population and because of the seal population, [which are] the main food source for great white sharks".
Truro has since closed all ocean side beaches until further notice. "Encounters with sharks are rare, but please remain alert".
Cape and Islands District Attorney Tara Militmore named Mr Medici has the man who had died.
It's not clear what type of shark was involved in the attack.
It was he second shark attack this season after a 61-year-old NY man fought off a shark off Truro. He is recovering in a Boston hospital.
The beach is popular with surfers and was busy Saturday, according to beachgoers.