Every city and town in this state having a special charter and containing ten thousand inhabitants or less shall have and is hereby granted power, authority and right to provide, by ordinance, for the erection, establishment and maintenance of a city jail.
§ 81.090, RSMo