The 22-year-old man was detained on Friday in Bedford on suspicion of the commission, preparation or instigation of acts of terrorism.