 In 1941 and 1942, he was Commander-in-Chief of the United Spanish War Veterans.After the Spanish–American War, Hanley left Iowa and became a Presbyterian preacher.He moved to Perry, New York, to become the pastor of a local church.