Gang-war accused produced in court; sent to police custody