Something caused the sheriff or police to pick him up. What were those charges? If he was charged only as an illegal then he'll be held indefinitely until a judge determines what will happen. Without more specific information about the charges, we are barely guessing.
https://www.inmateaid.com/ask-the-inmate/if-he-never-denied-been-in-the-states-without-papers-he-told-them-everything-what#answer
Accepted Answer Date Created: August 23,2016