The Seven-Per-Cent Solution is a 1976 Universal Studios Sherlock Holmes film, directed by Herbert Ross and written by Nicholas Meyer. It is based on Meyer's 1974 novel of the same name and stars Nicol Williamson, Robert Duvall, Alan Arkin, and Laurence Olivier. Dr. John H. Watson (Robert Duvall) becomes convinced that his friend Sherlock Holmes (Nicol Williamson)is delusional—particularly in his belief that Professor James Moriarty (Laurence Olivier) is a criminal mastermind—as a result of his addiction to cocaine. Indeed, Moriarty visits Watson to complain about being harassed by Holmes. Watson enlists the aid of Sherlock's brother, Mycroft (Charles Gray), to trick Holmes into traveling to Vienna where he will be treated by Sigmund Freud (Alan Arkin).