How and when did Kansas gain its statehood?

Kansas earned it's statehood because they wanted to.