PROVIDENCE, R.I. (AP) — Ringling Bros. and Barnum & Bailey Circus bid farewell to its performing elephants on Sunday, as the show closed its own chapter on a practice that has entertained audiences in America for two centuries but has come under fire by animal rights activists.

“This is a very emotional time for us,” Ringmaster Johnathan Lee Iverson told the crowd as the performance came to an end in Providence, Rhode Island, on Sunday.

He called the six Asian elephants beloved members of the circus family and thanked the animals for more than 100 years of service.

“We love our girls. Thank you so much for so many years of joy,” he said as the elephants left the ring for a final time. “That’s history tonight there, ladies and gentlemen, true American icons.”

Earlier, the crowd watched as the elephants performed an act that had them dancing, balancing on each others’ backs, sitting on their hind legs and pretending to sleep.

“We came to say farewell to the elephants,” said Sheila Oliver, of East Providence, who brought her 4-year-old daughter, Lilliana. “This is her first circus and, unfortunately, it’s their last one.”

Five elephants also performed earlier Sunday in a Ringling Bros. show in Wilkes Barre, Pennsylvania.

The Providence show opened with the national anthem. An elephant carried a performer holding an American flag then stood at attention as the song ended. A few minutes later, six elephants entered the ring, each holding the tail of the one in front of her.

After Sunday’s performance, the animals will live at Ringling’s 200-acre Center for Elephant Conservation in Florida, said Alana Feld, executive vice president of Feld Entertainment, which owns the circus. Its herd of 40 Asian elephants, the largest in North America, will continue a breeding program and be used in a pediatric cancer research project.

Elephants have been used in the circus in America for more than 200 years. In the early 1800s, Hackaliah Bailey added the elephant “Old Bet” to his circus. P.T. Barnum added the African elephant he named “Jumbo” to “The Greatest Show on Earth” in 1882.

The Humane Society says more than a dozen circuses in the United States continue to use elephants. But none tour as widely or are as well-known as Ringling Bros.

It’s also getting more difficult for circuses to tour with elephants. Dozens of cities have banned the use of bullhooks – used to train elephants – and some states are considering such legislation.

Just as in the Disney movie “Dumbo,” elephants in the past have been dressed up as people and trained to do a range of tricks: play baseball, ride bicycles, play musical instruments, wear wedding dresses or dress in mourning clothes, said Ronald B. Tobias, author of the 2013 book “Behemoth: The History of the Elephant in America.”

The change at Ringling signifies a shift in Americans’ understanding of elephants, Tobias said. People no longer see elephants as circus performers, he said, “but sentient animals that are capable of a full range of human emotions.”

Attitudes are shifting about other animals as well. Last month, Sea World announced it would end live orca shows and breeding. Ringling will continue to use animals, Feld said. Sunday’s show included horses, lions, tigers, dogs, pigs and other animals.

Before Sunday’s show, around half a dozen protesters stood outside, including one wearing a lion costume, to protest Ringling’s use of animals.

The Humane Society has called for an end to the breeding program at Ringling’s Florida center, and for the company to retire its elephants to one of two accredited sanctuaries, one in California and one in Tennessee, both of which have more than 2,000 acres of land.

Feld said they have the most successful breeding program in North America and have determined they can accommodate the elephants in the space they have. In 2014, Feld Entertainment won more than $25 million in settlements from animal-rights groups, including the Humane Society, over unproven allegations of mistreated elephants.

An announcer told the crowd before Sunday’s performance in Providence about the cancer project. Cancer is less common in elephants than humans, and their cells contain 20 copies of a major cancer-suppressing gene, compared with just one copy in humans. A researcher at the University of Utah is working with Ringling to study the elephants’ blood cells.

Tobias said as attitudes have changed, people are more interested in seeing elephants in a natural habitat such as a sanctuary, rather than in a circus or zoo.

“I think people will get a lot more satisfaction out of elephants living their real lives than to see them performing as clowns,” Tobias said. “It’s kind of a new age in our understanding and sympathy and empathy toward elephants.”