During the attempt to detain him, the terrorist offered armed resistance and was killed in return fire