The US president said a senior attack planner was targeted.