The rhyme was first recorded by James Orchard Halliwell in 1842, but there is evidence that it was popular in Britain and America at least in the early nineteenth century [REF].
Various persons have been identified with Lucy Locket and Kitty Fisher.