03/07/2018 16:48 EST | Updated 03/22/2018 16:51 EDT

Lucy Maud Montgomery Heritage Minute A Beautiful Tribute To Canadian Author

The "Anne of Green Gables" writer enjoyed great success in her life, but also faced great emotional pain.

Lucy Maud Montgomery's lovable protagonist Anne Shirley may have been full of joy, but her creator struggled.

The Canadian author fought depression, what she called her "dark moods," throughout her life.

On Thursday, Historica Canada unveiled a new Heritage Minute that pays tribute to the celebrated writer, who along with her mental health battles, had to deal with sexism and rejection from publishers. (You can watch the touching segment in the video embedded above.)

More from HuffPost Canada:

Montgomery was a prolific writer whose body of work included 20 novels, two books of short stories and one of poetry.

But the manuscript for her first book, "Anne of Green Gables," was turned down by every publishing house she sent it to. Two years later, she tried again and scored a publishing deal. "Anne" has since sold at least 50 million copies, been translated into dozens of languages and sparked several more books about its title character.

Historica Canada/YouTube
An actor portraying Lucy Maud Montgomery looks out over the ocean in a new Historica Canada Heritage Minute.

"They say women shouldn't write," an actor reads from Montgomery's journals in the new Heritage Minute. "Some days I almost give up."

"But I cannot contain my imagination. I made Anne real. I gave her my love of nature, my love of books and my childhood dreams."

Montgomery created Anne as an idealized version of herself, writer Miriam Rheingold Fuller noted.

"Sensitive, gifted, and compassionate but also strong-willed and outspoken," she wrote.

Also on HuffPost: