The story is set in 1887 or 1888. The Sign of Four has a complex plot involving service in Colonial India, a stolen treasure and a secret pact among four ex-convicts. It presents the detective's drug habit and humanizes him in a way that had not been done in the first novel, A Study in Scarlet. It also introduces Doctor Watson's future wife, Mary Morstan.