"Miss Sophia's Diary" was written in 1927 and first published in the influential Early Republic of China "Fiction Monthly" (小说月报). Ding Ling named the main character after Sofia Perovskaya, a Russian revolutionary who was executed for orchestrating the assassination of the tsar Alexandr II.