The judge remanded him in custody until Friday.