Police have made four arrests over the two linked terror attacks in Spain.
Fourteen people died after a van hit people in Barcelona and, hours later, a car drove into people in Cambrils .
Police are still hunting the Barcelona van driver - identified as Moussa Oukabir - but they killed the five attackers involved in the Cambrils attack and say he may have been one of them.
Three of the attackers who were killed were Moroccan nationals and one was from Spain.
Here is what we know about the four arrests:
One of the men detained has been named as Driss Oukabir - the older brother of the man police believe was driving the van in Barcelona.
Driss reportedly went to police in the northern Catalan town of Ripoll to hand himself in after seeing his photo on the news.
Police had identified him as a suspect in the Barcelona attack and released a photograph of him, saying he had rented the van.
He has denied any involvement in the attack and told police his documents had been stolen by his brother.
Driss is a French citizen of Moroccan origin.
His Facebook page, which has now been taken down, said he had been living in Ripoll, which is about 50 miles north of Barcelona.
A second man arrested is a Spanish national from Melilla, a Spanish autonomous city on the north coast of Africa which shares a border with Morocco.
He was arrested in the Catalan town Alcanar, where police have said there was an explosion on Wednesday night connected to the attacks.
One person died in the blast and another was seriously injured, according to police.
They suspect those in the house were "preparing an explosive device".
Suspects 3 and 4
On Friday morning a third man was arrested, also in Ripoll. Later in the day a fourth arrest was made. No further details are known at this point.
Authorities said they believe a cell of eight to 12 people may have been involved in planning the attacks, and wanted to use gas canisters as weapons.
Islamic State has said it is behind the Barcelona attack, according to the Amaq news agency.