The Merry Wives of Windsor in 1597, after which controversy over the original naming of Falstaff (he was originally the historic Sir John Oldcastle, which presumably did not please Oldcastle's descendants) forced Shakespeare to rename the character. It appears that the joke in V,v,85–90 is that Oldcastle/Falstaff incriminates himself by calling out the first letter of his name, "O, O, O!," when his fingertips are singed with candles—which of course works for "Oldcastle" but not "Falstaff." There is also the "castle" reference in IV,v,6. 18 January 1602 was the date the play was entered into the Register of the Stationers Company. The first quarto was
The Shakespeare Code makes reference to the many debates about Shakespeare's sexuality. Shakespeare flirts with Martha multiple times during the episode, and ultimately composes Sonnet 18 for her, calling her his "Dark Lady". This is a reference to the enigmatic female character in Shakespeare's Sonnets, although Sonnet 18 is in fact one of those addressed to a male character, the Fair Youth. Shakespeare subsequently flirts with the Doctor as well, at which the Doctor observes, "Fifty-seven academics just punched the air," a reference to the debates on this subject. There is a running joke throughout the episode in which the Doctor creates an