Madrid - None of the 4 detainees linked to the terrorist attacks in Barcelona and Cambrils had history of terrorist-related acts, Catalan police said on Friday. Earlier in the day it was reported that a fourth person was detained in relation to the attacks in Spain's Barcelona and Cambrils, the Catalan police said. "A fourth person was detained in relation to the events of the past hours in Cambrils and Barcelona," the Mossos d'Esquadra, Catalonia's police force, said in a tweet. According to El Periodico newspaper, the fourth detention was carried out in Ripoll, also in Catalonia. Catalan police is working on theory that attacks in Barcelona and Cambrils were being prepared for some time in Alcanar municipality.