The story
Appears in The Second Shepherds' Play by The Wakefield Master (1400-1450), later used by the English playwright William Shakespeare (1564 (baptised) – 1616) in his play Henry IV, Part 2 (c. 1596–1599): see the quotation.
Etymology from Wiktionary, CC BY-SA 4.0.