The king of France, and four thousand men,
They drew their swords, and put them up again.
Halliwell (a 19th century collector of nursery rhymes) wrote, "From MS. Sloane, 1489, fol. 19, written in the time of Charles I."
Thanks and Acknowledgements
This rhyme can be found in "The Nursery Rhymes of England" 5th edition (1886), collected by James Orchard Halliwell and illustrated by W. B. Scott.