The song was written by singer-songwriter Jimmy Webb and was released as a single by Campbell in 1969. Because its subject is a soldier who is thinking longingly of his hometown of Galveston, Texas, the song became the official anthem of the city as well as Galveston Island, which is regarded as mostly within the city limits of Galveston.