Longtime family friend Dan Watt confirmed Harper died Friday, adding the family wasn't immediately releasing any further details. She had been battling cancer for years, and her husband said recently he had been advised to put her in hospice care.

Harper was a breakout star on "The Mary Tyler Moore Show," then the lead of her own series, "Rhoda." She was 80.

FILE - In this June 7, 2016 file photo, Valerie Harper arrives at the ELLE Women in Comedy event, in Los Angeles. Harper stars in a short film titled, "My Mom and the Girl." (Photo by Rich Fury/Invision/AP, File)

Rich Fury/Invision/AP

She won three consecutive Emmys (1971-73) as supporting actress on "The Mary Tyler Moore Show" and another for outstanding lead actress for "Rhoda," which ran from 1974-78. Beyond awards, she was immortalized — and typecast — for playing one of television's most beloved characters, a best friend the equal of Ethel Mertz and Ed Norton in TV's sidekick pantheon.

Fans had long feared the news of her passing. In 2013, she first revealed that she had been diagnosed with brain cancer and had been told by her doctors she had as little as three months to live. Some responded as if a family member were in peril.

But she refused to despair. "I'm not dying until I do," Harper said in an interview on NBC's "Today" show. "I promise I won't." Harper did outlive her famous co-star: Mary Tyler Moore died in January 2017. Ed Asner, Cloris Leachman, Betty White and Gavin MacLeod are among the former cast members who survive her.

MacLeod recalled her as a "talented, gifted actress" in an email to The Associated Press.

"It is indeed a sad day. My life has been so enriched by having the experience of working with Valerie and calling her a friend. ... The thing I remember so much about Val is that she loved her family, she loved the actors that she worked with and she loved the underdog. She was always helping someone," he wrote.

In recent years, Harper's other appearances included "American Dad!" ''The Simpsons" and "Two Broke Girls."

Harper was a chorus dancer on Broadway as a teen before moving into comedy and improv when, in 1970, she auditioned for the part of a Bronx-born Jewish girl who would be a neighbor and pal of Minneapolis news producer Mary Richards on a new sitcom for CBS.

It seemed a long shot for the young, unknown actress. As she recalled, "I'm not Jewish, not from New York, and I have a small shiksa nose." And she had almost no TV experience.

But Harper, who arrived for her audition some 20 pounds overweight, may have clinched the role when she blurted out in admiration to the show's tall, slender star: "Look at you in white pants without a long jacket to cover your behind!"

It was exactly the sort of thing Rhoda would say to "Mar," as Harper recalled in her 2013 memoir, "I, Rhoda." Harper was signed without a screen test.

Of course, if CBS had gotten its way, Rhoda might have been a very different character with a much different actress in place. As "The Mary Tyler Moore Show" was being developed, its producers were battling a four-point decree from the network, which insisted that the nation's TV viewers would not accept series characters who were (1) divorced, (2) from New York, (3) Jewish or (4) have mustaches.

The producers lost on having Mary Richards divorced (instead, she had been dumped by her long-time boyfriend). But with Rhoda they overrode the network on two other counts.

FILE - In this Jan. 1987 file photo, Actress Valerie Harper laughs during an interview in New York. Valerie Harper, who scored guffaws and stole hearts as Rhoda Morgenstern on back-to-back hit sitcoms in the 1970s, has died, Friday, Aug. 30, 2019. She was 80. (AP Photo/Ron Frehm, File)

AP

The show that resulted was a groundbreaking hit, with comically relatable Rhoda one big reason.

Item: "What am I? I'm not married, I'm not engaged. I'm not even pinned. I bet Hallmark doesn't even have a card for me!"

Item: Eyeing a piece of candy, Rhoda wise-cracked: "I don't know whether to eat this or apply it directly to my hips."

"Women really identified with Rhoda because her problems and fears were theirs," Harper theorized in her book. "Despite the fact that she was the butt of most of her own jokes, so to speak, ... her confident swagger masked her insecurity. Rhoda never gave up."

Neither did Harper, who confronted her own insecurities with similar moxie.

But as "The Mary Tyler Moore Show" evolved, so did Rhoda. Rhoda trimmed down and glammed up, while never losing her comic step. The audience loved her more than ever.

A spinoff seemed inevitable. In 1974, Rhoda was dispatched from Minneapolis back home to New York City, where she was reunited with her parents and younger sister in a new sitcom that costarred Nancy Walker, Harold Gould and Julie Kavner.

She also met and fell in love with the hunky owner of a demolition firm.

The premiere of "Rhoda" that September was the week's top-rated show, getting a 42 percent share of audience against competition including Monday Night Football on ABC. And a few weeks later, when Rhoda and her fiance, Joe, were wed in a one-hour special episode, more than 52 million people — half of the U.S. viewing audience — tuned in.

But "Rhoda" couldn't maintain those comic or popular heights. A domesticated, lucky-in-love Rhoda wasn't a funny Rhoda. By the end of the third season, the writers had taken a desperate step: Rhoda divorced Joe. Thus had Rhoda (and Harper) defied a third CBS taboo.

The series ended in 1978 with Harper having played Rhoda for a total of nine seasons.

She had captured the character by studying her Italian stepmother. But Harper's own ethnicity — neither Jewish nor Italian — was summed up in a New York Times profile as "an exotic mixture of Spanish-English-Scotch-Irish-Welsh-French-Canadian."

And she was not a Gothamite. Born in Suffern, New York, into a family headed by a peripatetic sales executive, she spent her early years in Oregon, Michigan and California before settling in Jersey City, New Jersey.

By high school, she was taking dance lessons in Manhattan several times a week. By age 15, she was dancing specialty numbers at Radio City Music Hall. By 18, she was in the chorus of the Broadway musical "Li'l Abner" (then appeared in the film adaptation one year later). She also danced in the musicals "Take Me Along" (starring Jackie Gleason) and "Wildcat" (starring Lucille Ball).

She found comedy when she fell in with a group of Second City players from Chicago who had taken up residence in Greenwich Village. One of these improv players was Richard Schaal, whom she wed in 1964. (They divorced in 1978.)

Harper and Schaal moved to Los Angeles in 1968.Two years later, in a theater production, she was spotted by a casting agent for the role of Rhoda.

During "The Mary Tyler Moore," Harper appeared in her first major film, the comedy "Freebie and the Bean," and later was cast in "Blame It on Rio" and an adaptation of Neil Simon's play "Chapter Two."

In 1986, she returned to series TV with a family sitcom called "Valerie." While not matching her past critical successes, the show proved popular. But in the summer of 1987, Harper and her manager, Tony Cacciotti, whom she had married a few months earlier, were embroiled in a highly publicized feud with Lorimar Telepictures, the show's production company, and its network, NBC.

In a dispute over salary demands, Harper had refused to report for work, missing one episode. The episode was filmed without her. She was back on duty the following week, only to be abruptly dumped and replaced by actress Sandy Duncan. The show was renamed "Valerie's Family" and then "The Hogan Family."

Meanwhile, lawsuits and countersuits flew. In September 1988, a jury decided that Harper was wrongfully fired. She was awarded $1.4 million compensation plus profit participation in the show (which continued without Harper until 1991).

"I felt vindicated," Harper wrote in her memoir. "I had beaten Lorimar and reclaimed my reputation."

During the 1990s, Harper starred in a pair of short-lived sitcoms (one of which, "City," was created by future Oscar-winner Paul Haggis) and made guest appearances on series including "Melrose Place," ''Sex and the City" and "Desperate Housewives."

She reunited with Moore in a 2000 TV film, "Mary and Rhoda." In 2013, there was an even grander reunion: Harper and Moore were back together along with fellow "MTM" alumnae Leachman, White and Georgia Engel to tape an episode of White's hit comedy, "Hot in Cleveland." It was the ensemble's first acting job together in more than 30 years and during a news conference Harper cited a valuable lesson: The character of Rhoda, she said, pointing to Moore, "taught me to thank your lucky stars for a fabulous friend."

Survivors include her husband, Tony Cacciotti, and daughter, Cristina Cacciotti.

___

Frazier Moore, a long-time television writer for The Associated Press who retired in 2017, was the principal writer of this obituary. AP Television Writer Lynn Elber contributed.