After her film career effectively ended, she concentrated on raising her family and turned to television to host and act in 16 specials called "Shirley Temple's Storybook" on ABC. In 1960, she joined NBC and aired "The Shirley Temple Show."
Her 1988 autobiography, "Child Star," became a best-seller.
Temple had married Army Air Corps private John Agar, the brother of a classmate at Westlake, her exclusive L.A. girls' school, in 1945. He took up acting and the pair appeared together in two films, "Fort Apache" and "Adventure in Baltimore." She and Agar had a daughter, Susan, in 1948, but she filed for divorce the following year.
She married Black in 1950, and they had two more children, Lori and Charles. That marriage lasted until his death in 2005 at age 86.
In 1972, she underwent successful surgery for breast cancer. She issued a statement urging other women to get checked by their doctors and vowed, "I have much more to accomplish before I am through."
During a 1996 interview, she said she loved both politics and show business.
"It's certainly two different career tracks," she said, "both completely different but both very rewarding, personally."
Associated Press writer Matt Reed contributed to this report.