Anne Shirley is a fictional character introduced in the 1908 novel Anne of Green Gables by Lucy Maud Montgomery. Montgomery wrote in her journal that the idea for Anne's story came from relatives who, planning to adopt an orphaned boy, received a girl instead. Anne Shirley's appearance was inspired by a photograph which Montgomery clipped from the Metropolitan Magazine and kept, unaware of the model's identity as the notorious 1900s Gibson Girl Evelyn Nesbit.
Anne Shirley was born in the (fictional) town of Bolingbroke, Nova Scotia and spent the earliest years of her childhood there. No specific birthdate is given, but references in later works suggest her date of birth is in March 1865, although a reference in Anne's House of Dreams to the Canadian federal election of 1896, when she was approximately 27, could be interpreted to date her birth to approximately the spring of 1869. In any event, Anne was orphaned as an infant of three months, when her parents, schoolteachers Walter and Bertha Shirley (née Willis), died of typhoid fever. Without any other relations, Anne was taken in by Mrs. Thomas, who had done housework for the Shirleys. After Mr. Thomas died, Anne went to live with the Hammond family for some years and was treated as little more than a servant until Mr. Hammond died, whereupon Mrs. Hammond divided her children amongst relatives and Anne was sent to the orphanage at Hopetown. She considered herself as "cursed" by twins — Mrs. Hammond had three sets of twins whom Anne helped raise.
At the age of eleven, Anne was taken from the Hopetown orphanage to the neighbouring province of Prince Edward Island, which she regarded as her true home ever after. Unfortunately, she arrived by mistake — her sponsors, the siblings Matthew and Marilla Cuthbert, wanted to adopt a boy to help them on their farm, but the neighbour with whom they had sent the message was certain they had requested a girl instead. Matthew quickly became fascinated by the girl's good-hearted spirit, charming enthusiasm, and lively imagination, and wanted her to stay at Green Gables from the very first. Marilla's instinct was to send her back to the orphanage, but she was eventually won over by Anne's quirky joie de vivre — and by the fact that another woman, much harder than herself, was set to take Anne should Marilla decline to keep her.