Spanish fire crews picked through the wreckage of a beachfront restaurant on the holiday island of Mallorca on Friday, searching for clues after it partially collapsed, killing four people and injuring 16.
Authorities said the tragedy may have been caused by the excess weight of a crowd on the building's terrace, which had recently been renovated.
Those killed were two German women, aged 20 and 30, a 44-year-old Senegalese man and a 23-year-old Spanish woman who worked at the venue, a police spokesman said.
The packed two-storey building collapsed late on Thursday afternoon in a busy tourist area of Palma de Mallorca, the capital of the Mediterranean island.
The tourist season is already in full swing in the Balearic Islands, which also includes Ibiza and Menorca.
Firefighters were deployed in numbers, ambulances rushed victims to hospital and the street was sealed off by police to allow rescue teams to work, an AFP journalist saw.
Of the 16 people who were injured, eight remain in hospital, all of them Dutch nationals, Palma de Mallorca mayor Antonio Jimenez told reporters after observing a minute of silence for the victims.
"The seriously injured are out of danger," he added.
The Senegalese man and the Spanish woman who died were both residents on the island, Jimenez said, adding that it was a "very sad" day for the city.
Local media said the Senegalese man and a compatriot had rescued a swimmer from drowning in December 2017, winning him a police medal the following year.
The building comprised the Medusa Beach Club -- a street-level restaurant with a rooftop terrace -- and a basement bar called CocoRico, which were all crowded at the time of the disaster.
The head of the Palma fire service, Eder Garcia, said the restaurant floor had collapsed onto the bar below, which is "where we found the most victims".
"The causes are being investigated. The first hypothesis is that it was possibly due to excessive weight," he told reporters at the scene, adding the building has "an old structure".
The Medusa Beach Club had promoted a new rooftop terrace in a message posted on social media on Wednesday a day before the tragedy.
Local resident Vicky Garcia said the venue had only recently reopened after being refurbished.
"We heard a roar, then a lot of police, a lot of firemen, a lot of commotion," she told local television IB3.
A technical team was at the site on Friday to determine the cause of the collapse.
Yeray Exposito, a delivery driver whose friend works in the restaurant, said he "started to hear screams, people trying to call for help."
"And then the fire brigade, the ambulance and the health service started to come, and it was a real mess," he told AFPTV.
Local authorities have declared three days of mourning.
Speaking at a business forum in Barcelona, Spanish Prime Minister Pedro Sanchez conveyed his condolences to the victims' families.
"I would also like to express my best wishes for a speedy recovery to the injured," he added.
Mallorca is known for its pristine waters and beaches, and the Balearic Islands attract more tourists than all other Spanish regions except Catalonia.
More than 14 million foreign tourists visited the islands last year, according to official figures.
Thursday's collapse took place at the start of the archipelago's peak tourist season, on a beachfront avenue home to several shops and entertainment venues.
A 2009 collapse of a three-story building in Palma de Mallorca killed seven people, including three Colombians and two Germans.