He said it was unclear if the attacker was targeting parliament but added that the device may have exploded prematurely.