(CNN) Harper Lee, whose debut novel, "To Kill a Mockingbird," immortalized her name with its story of justice and race in a small Southern town and became a classic of American literature, has died. She was 89.

Her death was confirmed Friday by the City Hall in Monroeville, Alabama, where she lived.

In a statement, Lee's family said, "The family of Nelle Harper Lee, of Monroeville, Alabama, announced today, with great sadness, that Ms. Lee passed away in her sleep early this morning. Her passing was unexpected. She remained in good basic health until her passing. The family is in mourning and there will be a private funeral service in the upcoming days, as she had requested."

Added nephew Hank Conner in the statement, "This is a sad day for our family. America and the world knew Harper Lee as one of the last century's most beloved authors. We knew her as Nelle Harper Lee, a loving member of our family, a devoted friend to the many good people who touched her life, and a generous soul in our community and our state. We will miss her dearly."

Reaction from people moved by Lee's work, including Apple CEO Tim Cook and Congressman John Lewis (both Alabama natives), actor Matthew Modine, author John Green and Washington Post reporter Jason Rezaian, who had been jailed in Iran, was swift.

Former U.S. Rep. Mike Oxley -- co-author of a landmark anti-corporate-fraud law that bears his name -- died on January 1. He was 71.

Producer Robert Stigwood , the creative force behind "Saturday Night Fever," "Grease" and other cultural blockbusters of the 1970s, died on January 4. He was 81.

French fashion designer Andre Courreges, famous for his "space age" designs of the 1960s and 1970s, died on January 7, his family told CNN affiliate France 3. He was 92.

French fashion designer Andre Courreges, famous for his "space age" designs of the 1960s and 1970s, died on January 7, his family told CNN affiliate France 3. He was 92.

Baseball Hall of Fame outfielder Monte Irvin died January 11 at the age of 96. Irvin was regarded as one of the best hitters and all-around players in the Negro League, making five All-Star teams. He became one of the first African-Americans to play in the majors, and he played a vital role in the New York Giants' World Series runs in 1951 and 1954.

At left is Bob Elliott , half of the TV and radio comedy duo Bob and Ray. He died February 2 at the age of 92. For several decades, Elliott and Ray Goulding's program parodies and deadpan routines were staples of radio and television. Elliott was the father of comedian and actor Chris Elliott and the grandfather of "Saturday Night Live" cast member Abby Elliott.

U.S. Supreme Court Justice Antonin Scalia , the leading conservative voice on the high court, died at the age of 79, a government source and a family friend told CNN on February 13.

Singer Sonny James , who ruled the country music charts for nearly 20 years, died February 22 at the age of 87.

Former first lady Nancy Reagan , who joined her husband on a storybook journey from Hollywood to the White House, died of heart failure on March 6. She was known as a fierce protector of her husband, President Ronald Reagan, as well as a spokeswoman of the "just say no" anti-drug campaign. She was 94.

Actor Larry Drake , best known for his role as Benny on "L.A. Law," died at his home in Los Angeles on March 17, according to his manager Steven Siebert. Drake was 66.

Malik Taylor, better known to fans as Phife Dawg of the rap group A Tribe Called Quest, died March 23 at the age of 45. He's seen here at center during a performance in 1996. Taylor had long suffered from health issues associated with having Type 1 diabetes. In 2008, he underwent a kidney transplant.

Author and poet Jim Harrison died March 26 at his winter home in Arizona. He was 78. His many books include "Legends of the Fall," which was made into a 1994 movie starring Brad Pitt and Anthony Hopkins.

Actor James Noble , who played Gov. Eugene X. Gatling in the television series "Benson," died from a stroke on March 28. He was 94.

Actress Patty Duke , star of "The Patty Duke Show," died March 29, at the age of 69. Duke won an Academy Award at age 16 for playing Helen Keller in 1962's "The Miracle Worker."

Architect Zaha Hadid , whose designs include the London Olympic Aquatic Centre, died March 31, a spokesperson from Zaha Hadid Design told CNN. She was 65. Hadid died of a heart attack in a Miami hospital where she was being treated for bronchitis, according to her firm's press office.

Country music legend Merle Haggard died on April 6 -- his 79th birthday -- of complications from pneumonia, his agent Lance Roberts told CNN.

Actress Doris Roberts , best known for her role as Marie Barone on the sitcom "Everybody Loves Raymond," died April 17. She was 90.

The musician Prince died at his home in Minnesota on April 21 at age 57. The medical examiner later determined he died of an accidental overdose of the opioid fentanyl.

Grammy-winning songwriter Guy Clark died May 17 at the age of 74. The Texas native died after a long illness, according to a statement from his publicist.

CBS News legend Morley Safer , whose work on "60 Minutes" embodied the show's 50 years on air, died at the age of 84, according to CBS on May 19.

Actor Alan Young , known for his role as Wilbur Post in the television show "Mr. Ed," died on May 19. He was 96.

Drummer Nick Menza , who played on many of Megadeth's most successful albums, died after collapsing on stage during a show with his current band, Ohm, on May 21. He was 51.

Mixed martial arts fighter Kimbo Slice died June 6 at the age of 42. Slice, whose real name was Kevin Ferguson, initially gained fame from online videos that showed him engaging in backyard bare-knuckle fights. He then became a professional fighter with a natural charisma that endeared him to fans.

Hockey legend Gordie Howe , left, scored 801 goals in his NHL career and won four Stanley Cups with the Detroit Red Wings. Howe, also known as "Mr. Hockey," died June 10 at the age of 88, his son Marty said.

Singer Christina Grimmie died June 11 from gunshot wounds. The 22-year-old singer, who finished third on season 6 of "The Voice" on NBC, was shot while signing autographs after a concert in Orlando.

Singer Attrell Cordes , known as Prince Be of the music duo P.M. Dawn, died June 17 after suffering from diabetes and renal kidney disease, according to a statement from the group. He was 46.

Actor Ron Lester , who portrayed Billy Bob in the 1999 football movie "Varsity Blues," died June 17 at the age of 45, according to his representative Dave Bradley. Bradley said Lester died of organ failure -- specifically his liver and his kidneys. Lester had openly talked about his struggle with his illness on Twitter.

Bluegrass music pioneer Ralph Stanley died June 23 at the age of 89, publicist Kirt Webster announced on Stanley's official website. Stanley was already famous in bluegrass and roots music circles when the 2000 hit movie "O Brother, Where Art Thou?" thrust him into the mainstream. He provided a haunting a cappella version of the dirge "O Death" and ended up winning a Grammy.

Scotty Moore, a legendary guitarist credited with helping to launch Elvis Presley's career, died at the age of 84 on June 28. Moore is a member of the Rock and Roll Hall of Fame, and he was ranked No. 29 on Rolling Stone's list of the 100 greatest guitarists.

Scotty Moore, a legendary guitarist credited with helping to launch Elvis Presley's career, died at the age of 84 on June 28. Moore is a member of the Rock and Roll Hall of Fame, and he was ranked No. 29 on Rolling Stone's list of the 100 greatest guitarists.

Nobel Peace Prize laureate and Holocaust survivor Elie Wiesel died at the age of 87 on July 2. Wiesel's book "La Nuit" is the story of the Wiesel family being sent to Nazi concentration camps.

Director Michael Cimino , whose searing 1978 Vietnam War drama "The Deer Hunter" won five Oscars, including best picture, died July 2. He was 77.

Actress Noel Neill , who played Lois Lane in the 1950s TV version of "Superman," died July 3 at the age of 95.

Actor David Huddleston , perhaps best known for his role in the 1998 film "The Big Lebowski," died August 2 at the age of 85.

British actor Kenny Bake r, best known for playing R2-D2 in the "Star Wars" films, died on August 13, Baker's niece, Abigail Shield, told CNN. He was 81.

Actor Steven Hill , best known for playing District Attorney Adam Schiff on NBC's "Law & Order," died August 23, his son confirmed to CNN. He was 94.

Mexican music icon Juan Gabriel, who wooed audiences with soulful pop ballads that made him a Latin American music legend, died August 28 at the age of 66.

Actor Gene Wilder , who brought a wild-eyed desperation to a series of memorable and iconic comedy roles in the 1970s and 1980s, died August 29 at the age of 83. Some of his most famous films include "Young Frankenstein," "Blazing Saddles" and "Willy Wonka & the Chocolate Factory."

Character actor Jon Polito, who appeared in films such as "American Gangster" and "The Big Lebowski," died September 2, his manager confirmed. He was 65.

Character actor Jon Polito, who appeared in films such as "American Gangster" and "The Big Lebowski," died September 2, his manager confirmed. He was 65.

Actor Hugh O'Brian , best known for his portrayal of the title role in the 1950's TV Western "The Life and Legend of Wyatt Earp," died on September 5. He was 91.

Legendary playwright Edward Albee -- whose works included "Who's Afraid of Virginia Woolf?" -- died at the age of 88 after a short illness, according to his personal assistant Jakob Holder. Albee died September 16 at his home in Montauk, New York.

"L.A. Confidential" director and writer Curtis Hanson , 71, died of natural causes on September 20, Los Angeles police said. He won an Oscar with Brian Helgeland for the screenplay on "L.A. Confidential," and he also directed "8 Mile" and "Wonder Boys."

Grammy and Emmy Award winner Stanley Dural Jr., also known as Buckwheat Zydeco, died September 24 in Lafayette, Louisiana. He was 68.

Veteran actor Bill Nunn, best known for playing Radio Raheem in "Do the Right Thing" and Robbie Robertson in the "Spider-Man" trilogy, died September 24 at age 63.

Miami Marlins pitcher Jose Fernandez , one of baseball's brightest stars, was killed in a boating accident September 25, Florida authorities said. He was 24.

Golfing legend Arnold Palmer , who helped turn the sport from a country club pursuit to one that became accessible to the masses, died September 25 at the age of 87, according to the U.S. Golf Association.

Award-winning author Gloria Naylor , whose explorations of the lives of black women in the 1980s and 1990s earned her wide acclaim, died on September 28. She was 66.

Actor Tommy Ford , best known for his role as Tommy in the 1990s hit sitcom "Martin," died in Atlanta, a spokeswoman for his family announced on October 12. Ford was 52.

Actor and comedian Kevin Meaney , who had been a regular on late-night TV and was famous for delivering the line, "That's not right," died, his agent said October 21. Meaney's age and the cause of death weren't immediately known.

Canadian singer-songwriter Leonard Cohen died at the age of 82, according to a post on his official Facebook page on November 10. A highly respected artist known for his poetic and lyrical music, Cohen wrote a number of popular songs, including the often-covered "Hallelujah."

Actor Ron Glass , known for his role on the police sitcom "Barney Miller," died November 25, his agent said. Glass also starred in "Firefly" and its film sequel "Serenity."

Actor Alan Thicke , known for his role as the father in the sitcom "Growing Pains," died on December 13, according to his agent, Tracy Mapes. He was 69. Thicke's career spanned five decades -- one in which he played various roles on and off screen, from actor to writer to composer to author.

English novelist Richard Adams , author of the famous children's book "Watership Down," died at the age of 96 on December 24.

Singer George Michael , who shot to fame with the '80s band Wham!, died on Christmas Day, according to Britain's Press Association. He was 53 years old.

Actor and comedian Ricky Harris , who was a regular on the TV sitcom "Everybody Hates Chris" and first gained attention on HBO's "Def Comedy Jam," died December 26, according to his publicist. He was 54.

Actress Carrie Fisher , best known for her role as Princess Leia in the "Star Wars" franchises, died December 27, according to her daughter's publicist. Fisher had suffered a cardiac event on December 23. She was 60 years old.

"I re-read #tokillamockingbird during my trial. Touched me much more than when I first read it in high school. Rest in peace Harper Lee," Rezaian tweeted.

I re-read #tokillamockingbird during my trial. Touched me much more than when I first read it in high school. Rest in peace Harper Lee — Jason Rezaian (@jrezaian) February 19, 2016

Bless you #HarperLee Thank you for the chance to get inside the skin of Atticus. You made us all more conscious. pic.twitter.com/lWNKqdREcI — Matthew Modine (@MatthewModine) February 19, 2016

Rest in peace, Harper Lee. "The one thing that doesn't abide by majority rule is a person's conscience." — Tim Cook (@tim_cook) February 19, 2016

One of the great writers of all time, Harper Lee laid bare the soul of America and her work will continue to educate for generations. — John Lewis (@repjohnlewis) February 19, 2016

Her publisher, HarperCollins, also released a statement.

"The world knows Harper Lee was a brilliant writer but what many don't know is that she was an extraordinary woman of great joyfulness, humility and kindness," said the company's president and publisher, Michael Morrison. "She lived her life the way she wanted to- in private- surrounded by books and the people who loved her. I will always cherish the time I spent with her."

"Mockingbird," which was published in 1960, was drawn from elements of Lee's childhood in Monroeville. In steady prose shaded by memory and lyricism, she describes how an impulsive girl, Scout Finch, her older brother, Jem, their friend Dill and a variety of other townspeople get caught up in the case of Tom Robinson, a black man who's been accused of rape in the Depression-era town of Maycomb, Alabama.

Through it all, no character is more indelible than that of Scout's widower father, Atticus Finch. The scrupulous, fair-minded lawyer who defends the falsely accused Robinson in a racist courtroom set a standard for goodness and bravery that still resonates more than 50 years later.

"I wanted you to see what real courage is, instead of getting the idea that courage is a man with a gun in his hand," Atticus says to Scout at one point. "It's when you know you're licked before you begin but you begin anyway and you see through it no matter what."

The book won the Pulitzer Prize, and Gregory Peck, who played Atticus in the acclaimed 1962 movie, earned an Oscar for best actor. Finch was named the greatest hero in movie history in a 2003 American Film Institute survey. His reputation is such that a 2010 poll by the American Bar Association Journal was titled "The 25 Greatest Fictional Lawyers (Who Are Not Atticus Finch)."

An earlier draft of the book, titled "Go Set a Watchman," was published in 2015. The book was criticized for a different portrayal of Atticus, who voices racist sentiments, and questions arose as to whether Lee actually wanted it released.

Despite mixed reviews, the book was one of the top sellers of 2015.

Throughout all this, Lee maintained a low profile. She had assisted her friend Truman Capote, the basis for Dill, while he researched his novel "In Cold Blood," and though he reveled in the praise and fortune that came with fame, she resisted it.

"I never expected any sort of success with 'Mockingbird,'" she told critic Roy Newquist for an interview published in 1964 . "I didn't expect the book to sell in the first place. I was hoping for a quick and merciful death at the hands of reviewers, but at the same time I sort of hoped that maybe someone would like it enough to give me encouragement. Public encouragement. I hoped for a little, as I said, but I got rather a whole lot, and in some ways this was just about as frightening as the quick, merciful death I'd expected."

Even as "Mockingbird" became a fixture on high school reading lists and demands for her became ever more pronounced, she took shelter in New York and Alabama, hiding in plain sight. It wasn't that she was reclusive, exactly; it's that she preferred to let her work speak for itself.

At one event in her honor -- and there were many -- she was asked to address the audience at the Alabama Academy of Honor. She turned down the opportunity.

"Well, it's better to be silent than be a fool," she said.

'I kept at it'

Nelle Harper Lee was born in Monroeville on April 28, 1926. She was the youngest of five children born to Amasa Coleman (A.C.) Lee and Frances Cunningham Finch. Though A.C. was not a widower like Atticus, Lee's mother was mentally ill, so she and her siblings were essentially raised by her father . The two became very close.

She met Truman Persons, who was two years older, as a child. The tomboyish Lee and the sometimes petulant Persons, who was sent away by his parents to spend his summers in Monroeville, became close friends and would spend hours reading and making up stories. Recognizing his daughter's imaginative temperament, A.C. Lee gave her an Underwood typewriter. She carried it everywhere.

Photos: Famous writers and their typewriters Photos: Famous writers and their typewriters "To Kill a Mockingbird" author Harper Lee sits in her father's law office in this undated photo. News of her death was reported on Friday, February 19. She was 89. Hide Caption 1 of 20 Photos: Famous writers and their typewriters Author William S. Burroughs sits with a typewriter in 1959. Hide Caption 2 of 20 Photos: Famous writers and their typewriters Mystery author Agatha Christie works at her home in this undated photo. Hide Caption 3 of 20 Photos: Famous writers and their typewriters Writer E.B. White looks at his pet dachshund, Minnie, while typing in his office at The New Yorker magazine circa 1948. Hide Caption 4 of 20 Photos: Famous writers and their typewriters William Faulkner, author of "Sartoris" and "Sanctuary," smokes a pipe in the early 1940s. Hide Caption 5 of 20 Photos: Famous writers and their typewriters Margaret Mitchell spent 10 years writing her one and only novel, "Gone with the Wind," which published in 1936 and became a feature film in 1939. Hide Caption 6 of 20 Photos: Famous writers and their typewriters Truman Capote, author of "In Cold Blood," "Breakfast at Tiffany's" and other classics, works on his first novel in 1946. Hide Caption 7 of 20 Photos: Famous writers and their typewriters Ian Fleming, author of the James Bond series of spy novels, works at his Jamaica home, nicknamed "Goldeneye," in this undated photo. Hide Caption 8 of 20 Photos: Famous writers and their typewriters Tom Wolfe, author of the best-selling book "The Electric Kool-Aid Acid Test," is seen during a portrait session at his New York home in 1988. Hide Caption 9 of 20 Photos: Famous writers and their typewriters Alfred Hitchcock, who directed more than 50 films including "Psycho" and "The Birds," works with actress Tippi Hedren on the set of his 1964 film "Marnie." Hide Caption 10 of 20 Photos: Famous writers and their typewriters Helen Keller, the blind and deaf author and lecturer, sits at her typewriter in this undated photo. Hide Caption 11 of 20 Photos: Famous writers and their typewriters Playwright Arthur Miller, creator of "Death of a Salesman" and "The Crucible," is seen at his desk circa 1955. Hide Caption 12 of 20 Photos: Famous writers and their typewriters George Bernard Shaw, seen here in 1932, wrote "Pygmalion" and more than 60 other plays. Hide Caption 13 of 20 Photos: Famous writers and their typewriters Langston Hughes, known for the poem "A Dream Deferred," sits with his typewriter circa 1945. Hide Caption 14 of 20 Photos: Famous writers and their typewriters Playwright Tennessee Williams, creator of "The Glass Menagerie" and "A Streetcar Named Desire," relaxes at his home in this undated photo. Hide Caption 15 of 20 Photos: Famous writers and their typewriters Poet T. S. Eliot inspects manuscripts in this undated photo. Hide Caption 16 of 20 Photos: Famous writers and their typewriters Ernest Hemingway, who wrote "For Whom the Bell Tolls" and "The Old Man and the Sea," works at his typewriter while sitting outdoors in 1939. Hide Caption 17 of 20 Photos: Famous writers and their typewriters Orson Welles directed and starred in "The Lady from Shanghai," a 1947 film noir involving a complex murder plot. Hide Caption 18 of 20 Photos: Famous writers and their typewriters George Orwell, best known for his books "Animal Farm" and "Nineteen Eighty-Four," works at his typewriter in this undated photo. Hide Caption 19 of 20 Photos: Famous writers and their typewriters John Steinbeck, who wrote "The Grapes of Wrath" and "Of Mice and Men," is pictured at his New York home in 1958. Hide Caption 20 of 20

Lee attended the University of Alabama, including a short stint in law school, but didn't finish. Instead, she moved to New York where Truman Persons, now Truman Capote, had established himself as one of the country's leading writers.

Lee, too, wanted to write but had little time to pursue the vocation until a pair of Capote's friends, Michael and Joy Brown, gave her a Christmas gift: They would pay all her expenses for a year. Lee took two to write "To Kill a Mockingbird."

Though the book seems effortless, she told Newquist it came in stops and starts.

"Naturally, you don't sit down in 'white hot inspiration' and write with a burning flame in front of you," she said. "But since I knew I could never be happy being anything but a writer, and 'Mockingbird' put itself together for me so accommodatingly, I kept at it because I knew it had to be my first novel, for better or for worse."

After she finished "Mockingbird," Capote -- fresh off the success of "Breakfast at Tiffany's" -- invited her to assist him on a new project: the story of a murdered Kansas family, the Clutters. Lee became part secretary, part interviewer, part go-between for the flamboyant Capote. The work they did would become the foundation of Capote's 1966 best-seller, "In Cold Blood."

"Mockingbird" was published in July 1960 and became an immediate best-seller. Indeed, it's never stopped selling; as of 2006, it had sold 30 million copies and moves a million more each year.

Lee was caught off guard by its success.

"I can't say that (my reaction) was one of surprise. It was one of sheer numbness. It was like being hit over the head and knocked cold," she told Newquist.

Book to screen

The book won the Pulitzer Prize for Fiction and was optioned for a movie. Lee was wary of Hollywood's attention but was allowed some input. Her choice for Atticus was Spencer Tracy, but he was unavailable. The studio's first choice was Rock Hudson.

When Gregory Peck was chosen, he traveled to Monroeville to meet with Lee. He became so attuned to the role that Lee burst into tears the first time she saw him in character. The two became lifelong friends. After filming concluded, Lee gave the actor her father's prized pocket watch; later, Peck's grandson was named for the author.

The movie has been called "the best-ever book-to-screen adaptation." It captured Lee's world just right: the dilapidated homes, the county courthouse (built on a backlot but based on the actual Monroeville building) and, above all, her characters.

The performers who played Scout and Jem, Mary Badham and Philip Alford, were Alabama-born acting novices. Brock Peters, who played Tom Robinson, broke away from the heavies he'd portrayed before landing the role. (More than five decades later, he would deliver the eulogy at Peck's funeral.) Robert Duvall, who played the mysterious Boo Radley, was a screen newcomer. He would go on to a storied career.

With the success of the film, "To Kill a Mockingbird's" place in the culture was cemented. But Lee never followed up. She worked on a second novel but never finished it. Later she tried her hand at a true-crime book. That, too, would remain incomplete

"Go Set a Watchman" was an earlier version of "Mockingbird." The book engendered its share of controversy over concerns that Lee, by then in an assisted-living facility, hadn't approved its release, despite a statement that she was "humbled and amazed that this will now be published."

Regardless, "Mockingbird" was a career in itself.

The story was both a steady source of income and, eventually, somewhat of a millstone for Lee. She spent many years sharing a house in Monroeville with her sister, Alice, a centenarian who followed in her father's footsteps as a lawyer. Strangers would knock on the door and ask for autographs. Lee sued a local museum over trademark infringement. She got caught up in a lawsuit in which she claimed she was "duped" into signing over the copyright to her book. The suit was settled in 2013.

Over the years, biographers and reporters would attempt to get close to Lee. For the most part, she resisted their blandishments, though one teacher, Charles Shields, wrote a 2006 biography, and a Midwestern journalist, Marja Mills, moved next door and eventually wrote a book , "The Mockingbird Next Door" (2014). By then, Harper Lee had suffered a stroke and both Lees needed more detailed care.

Nevertheless, there is no forgetting "Mockingbird." The film lives on; it's in the National Film Registry. Each year, Monroeville puts on a staged version of the story.

And, of course, there is the book, still selling, still being read, still moving many to tears.

The book, and its author, offer two qualities that are often in short supply: respect and restraint.

Perhaps there is no more moving example than a famous scene from the book and movie. Atticus Finch has just lost the rape trial. His client, Tom Robinson, will probably be put to death. In the balcony, Scout and Jem sit with Maycomb's black community in stunned silence. As Atticus quietly leaves the courtroom, the Reverend Sykes, a local black leader, gets Scout's attention. The citizens on the balcony are all standing. He urges her to do the same.

"Miss Jean Louise," he says, "stand up. Your father's passin'."

Lee never married and had no children.