There are many jails, prisons, and detention centers in Leavenworth. The most famous prison is the Leavenworth federal prison. The United States military also has a maximum security prison in Leavenworth. This prison is called the United States Disciplinary Barracks. The Kansas State Penitentiary and the state medium security prison are also close to the city.