Montgomery wrote the book after seeing a newspaper article about a couple that were mistakenly sent an orphan girl instead of a boy , yet decided to keep her .
Montgomery found her inspiration for the book on an old piece of paper that she had written at a young age , describing a couple that were mistakenly sent an orphan girl instead of a boy , yet decided to keep her .