Kan. Stat. Ann. § 19-1901
There shall be established and kept at every county seat, by authority of the board of county commissioners, at the expense of the county, a jail for the safekeeping of prisoners lawfully committed.
G.S. 1868, ch. 53, § 1; October 31; R.S. 1923, 19-1901.