The most successful recording of the song was the pop version by Three Dog Night in 1972, when it reached number one on both the Billboard Hot 100 and Billboard Easy Listening charts. This was one of the few hits for Three Dog Night on which Danny Hutton sang the lead vocals.
Earl Robinson's recording was released on the Folkways album A Walk in the Sun (and Other Songs and Ballads), refers to the song written for the 1945 film A Walk in the Sun.
Reggae groups The Maytones, from Jamaica, and Greyhound, from the UK, both recorded the song in 1971, the latter achieving a UK top ten hit. Having heard the Greyhound version, which did not include the verse describing the court, Three Dog Night included the song in their 1972 album Seven Separate Fools. This version of the song peaked at number one on the U.S. pop chart on September 16, 1972, and topped the easy listening chart on October 7.