NEW YORK (AP) — There was never a better laugh line in all of sitcomania and, in her signature role as Rhoda, Valerie Harper nailed it.

Eyeing a piece of candy with desire yet trepidation, Rhoda cracks, "I don't know why I'm putting this in my mouth. I should just apply it directly to my hips."

That was in 1970 in the first weeks of "The Mary Tyler Moore Show," as Rhoda — and Harper — first stole viewers' hearts.

Rhoda was lovely and adorable but she had relatable issues with her weight and took refuge in self-deprecating jokes.

Rhoda was for everyone, and she would prove it in back-to-back hit sitcoms that made Harper a breakout star on "The Mary Tyler Moore Show," then established her as a funny leading lady in her own series, "Rhoda," scoring guffaws and busting TV taboos as an overweight, brash, Jewish version of the girl next door.

Harper, who died Friday in Los Angeles days after she turned 80 after a long battle with cancer, won three consecutive Emmys (1971-73) as supporting actress on "The Mary Tyler Moore Show" plus another for outstanding lead actress for "Rhoda," which ran from 1974-78. She was immortalized — and typecast — for playing one of television's most beloved characters, who as Mary's best friend was the equal of Ethel Mertz and Ed Norton in TV's sidekick pantheon.

Harper's career cooled after "Rhoda." Maybe she had done her job too well, becoming indelibly connected with the woman she played.

In recent years, her appearances were mostly limited to voice work on the animated shows "The Simpsons" and "American Dad." But for years, Harper's appearances had been mostly in the occasional stage and guest-star TV role.

Then in 2013, she was back in the news, and all over TV, when she revealed that just a few weeks earlier she was diagnosed with brain cancer. This rare condition, leptomeningeal carcinomatosis, occurs when cancer cells spread into the fluid-filled membrane surrounding the brain. (She had battled lung cancer in 2009.)

Harper said she had been told by her doctors she had as little as three months to live. Fans responded as if a family member were in peril.

But while the diagnosis might have seemed like a death sentence, "I'm not dying until I do," Harper said in a TV interview. "I promise I won't."

She continued to work, with guest shots in 2015 on "2 Broke Girls" and "Melissa & Joey" as well as her stage dates. And she outlived her famous co-star: Mary Tyler Moore died in January 2017.

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 gal 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, even as a dancer had battled plumpness and who arrived for her audition packing a couple of dozen extra pounds, may have clinched the role when she blurted out in admiration to the "Mary Tyler Moore Show's" reed-thin 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 woman 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.

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: "I came to Minneapolis because of the cold. I figured if I was frozen I'd keep better."

"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.

"I was always a little overweight," she once told The Associated Press. "I'd say, 'Hello, I'm Valerie Harper and I'm overweight.' I'd say it quickly before they could. ... I always got called Chubby, my nose was too wide, my hair was too kinky."

But as "The Mary Tyler Moore Show" evolved, so did Rhoda. At first, she made jokes about her weight, famously cracking that she the candy she was eating should be applied "directly" to her hips. But Rhoda (and Harper) trimmed down and glammed up, while never losing her comic step. The audience loved her more than ever.

Then, in fall of 1974, the "The Mary Tyler Moore Show" producers spun the character off. Rhoda was dispatched from Minneapolis back home to New York City ("This is your last chance," she told New York in the opening titles), 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% 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 — not the Rhoda who could claim "I had a bad puberty. It lasted 17 years;" not the Rhoda who before a date had been hungry but refused to eat, explaining, "I've got to lose 10 pounds by 8:30."

By the end of the third season, the show's writers had taken a desperate step to shake things up: 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 New Yorker. 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, N.J.

By high school, she was taking dance lessons in Manhattan several times a week. By the time was 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 a 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 (and would divorce in 1978).

Harper and Schaal moved to Los Angeles in 1968, and in a theater production there in 1970, 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 appeared in "Chapter Two" and "Blame It on Rio."

In 1986, she returned to series TV with a family sitcom called "Valerie." While not matching her past critical successes, the series 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." And in April 2013, there was an even grander reunion: Harper and Moore were back together along with fellow "The Mary Tyler Moore Show" 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 some 36 years.

The character of Rhoda "taught me to thank your lucky stars for a fabulous friend," Harper noted during a news conference, referring to Mary Richards and pointing to Moore and laughing.

Harper is survived by her husband, Tony Cacciotti, and daughter, Cristina Cacciotti.

___

Moore, AP's longtime television writer, retired in December 2017.

Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.