President knew about attack