He was held in custody before appearing in court.