He condemned federal judges who put on hold his two executive orders to ban the entry into the United States of people from several Muslim-majority countries, calling one a "so-called judge" and suggesting that blame for a future terrorist attack should go to the courts.