produced the accused in court and sent him to jail in judicial custody.