Henry IV, Part 2 rebel Sir John Oldcastle, for "Oldcastle died martyr, and this is not the man." Falstaff had originally been named Oldcastle, following Shakespeare's main model, an earlier play "The Famous Victories of Henry V". Shakespeare was forced to change the name after complaints from Oldcastle's descendants. While it is accepted by modern critics that the name was originally Oldcastle in Part 1, it is disputed whether or not Part 2 initially retained the name, or whether it was always "Falstaff". According to René Weis, metrical analyses of the verse passages containing Falstaff's name have been inconclusive. Shakespeare's primary source for "Henry
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