The eponymous duke has been argued to be a number of the bearers of that title, particularly Prince Frederick, Duke of York and Albany (1763–1827) and its lyrics have become proverbial for futile action.
The most common modern version is:
Oh, the grand old Duke of York, He had ten thousand men; He marched them up to the top of the hill, And he marched them down again.
When they were up, they were up, And when they were down, they were down, And when they were only halfway up, They were neither up nor down.[