Authorities say 19-year-old Mohamed Osman Mohamud was taken into custody by agents from the Federal Bureau of Investigation after he dialed a cell phone intending to detonate a bomb , but instead rang for the FBI in a sting operation .