sentences:  In most states, the state courts and local law enforcement are organized and implemented along county boundaries, but nearly all of the substantive and procedural law adjudicated in state trial courts originates from the state legislature and state appellate courts.In other words, most criminal defendants are prosecuted for violations of state law, not local ordinances, and if they, the district attorney, or police seek reforms to the criminal justice system, they will usually have to direct their efforts towards the state legislature rather than the county (which merely implements state law).A typical criminal defendant will be arraigned and subsequently indicted or held over for trial before a trial court in and for a particular county where the crime occurred, kept in the county jail (if he is not granted bail or cannot make bail), prosecuted by the county's district attorney, and tried before a jury selected from that county.