That exclusive jurisdiction over and within any lands so acquired by the United States shall be, and the same is hereby, ceded to the United States, for all purposes; saving, however, to the state of Kansas the right to serve therein any civil or criminal process issued under the authority of the state, in any action on account of rights acquired, obligations incurred or crimes committed in said state, but outside the boundaries of such land; and saving further to said state the right to tax the property and franchises of any railroad, bridge or other corporations within the boundaries of such lands; but the jurisdiction hereby ceded shall not continue after the United States shall cease to own said lands.
K.S.A. 27-102