Generate text that is semantically similar to this text: in the united states , jails are operated by cities and counties ( or equivalent ) .
jail is a municipal level , prison is on a state / federal / provincial / territory level .