Biologists had said they had not expected the female sandbar shark to survive because it stopped swimming after being brought to the aquarium on Monday and needed help from divers to keep moving, and thus breathing.
An autopsy will be carried out to determine the cause of death, the aquarium said in a statement.
Biologists captured the 90-kilo (200-lb) fish Monday in knee-high water at a beach called Miracle in northeast Tarragona province, grabbing it with their bare hands and dragging it ashore.
The shark first turned up early last week and became a novelty by swimming regularly into plain view in very shallow water. Authorities closed the beach to swimmers.
After the shark was taken to the aquarium, biologists determined its dorsal fin had been punctured by a harpoon and that it had some kind of internal problem, possibly from swallowing an object.
The head of Russian Technologies, Sergei Chemezov, clarified the fate of anti-aircraft guided missiles that Russia was supposed to deliver to China
The Basmanny Court of Moscow arrested Michael Calvey, the founder of Baring Vostok investment fund, on allegations of embezzling 2.5 billion rubles from Vostochny Bank. Calvey will be held in custody until April 13