Imran Khan said he had learned about the looming danger beforehand.