After the Madrid attacks , Britain and Spain began several joint investigative initiatives -- with spies on the ground , simulated exercises and intelligence-sharing , said former and current Spanish and British intelligence officials .