A security chief called the attack an "extreme Islamist terror act" and said the suspect had a history of violence and mental health issues.