The beloved period drama was inspired by a best-selling novel.