 In " The Sign of Three " , written by Stephen Thompson , Mark Gatiss and Steven Moffat , Watson and Mary Morstan get married . The episode takes place during the wedding reception and the story is told through flashbacks . The episode title is inspired by The Sign of the Four and was first broadcast on 5 January 2014 . 
