At one time "cowboy songs" were extremely popular, and this one was one of the most popular of them all. It was originally a poem called My Western Home, written in the early 1870s, and was adopted as the official state song of Kansas in 1947.