Religious views of William Shakespeare his time in his sensitivity to the Islamic world and its inhabitants." According to the conclusion of Prof Matthew Dimmock, Shakespeare's depiction of Islam and Muslims "denied either scriptural congruence or religious coherence, embodied in the martially aggressive male." Shakespeare's works included several Muslim characters, including Aaron the Moor in "Titus Andronicus", the Prince of Morocco in "The Merchant of Venice" and Othello in the eponymous play. These works are said to have been inspired by several Moorish delegations from Morocco to Elizabethan England around 1600, such as that of Abd el-Ouahed ben Messaoud. Shakespeare also makes one explicit reference
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