Katy Perry's dispute over the ownership of a Los Angeles convent took a tragic turn on Friday, when an elderly nun died in court.

Sister Catherine Rose Holzman, 89, collapsed in court in the middle of a hearing on the long-running matter.

Hours after the distressing development in Los Angeles, Katy Perry was pictured learning to tango in Buenos Aires, Argentina, where she is performing as part of her Witness tour.

Likely unaware of the developments back home in California, the crop-haired singer had a big smile on her face, as she spun around the dance floor.

Unaware: Katy Perry tangos the night away in in Buenos Aires... hours after nun at center of pop star's legal battle dies in court on Friday

Stepping out: On Friday, Katy showed no signs of her recent legal stress as she learned to tango in Buenos Aires while in Argentina for her Witness tour

The Firework hitmaker wore a shimmering gold dress for her evening of dancing at the Rojo Tango Show.

She continued the gold theme with gold heels and hoop earrings, and sported a peroxided pixie cut for her evening on the town.

The night began when Perry, sitting in the crowd, received a rose from the main dancer and was called onstage to learn a few steps.

The former gospel music singer proved a quick study and showed off her dance moves with aplomb.

Sultry: The Firework hitmaker wore a shimmering gold dress for her evening of dancing at the Rojo Tango Show

Stay gold: She continued the gold theme with gold heels and hoop earrings, and sported a peroxided pixie cut for her evening on the town

While Katy seemed unconcerned about the drama earlier that day, it seems more likely she was yet to learn of the tragic death.

Sister Catherine was one of two nuns who had tried to sell the Los Feliz convent where they lived to a restaurant owner named Dana Hollister for just $44,000, as an alternative to selling it to the pop star.

Katy Perry had offered to buy it from Archdiocese of Los Angeles for almost $15million in 2014 - but the nuns were outspoken opponents to the deal.

For while Katy is the daughter of two Pentecostal pastors, the sisters felt she was an unworthy owner of their former home.

Fast learner: The former gospel music singer proved a quick study and showed off her dance moves with aplomb

Sister Catherine had even spoken publicly against selling the property to Katy, insisting that she was the wrong person to maintain the convent's legacy.

During an interview in 2015, she explained: 'After she spoke [about] her lifestyle, and what we have been teaching for years and our older sisters have been teaching, and what we believe in, [she] just did not fit.'

Perry and the Archdiocese successfully sued Hollister over her interference in their deal; they were awarded $15million between them in punitive damages in December.

Hours before her death during a post-judgement hearing, Sister Catherine pleaded with the Roar hitmaker to back off, saying during an interview with Fox11 LA: 'And to Katy Perry, please stop.

'It’s not doing anyone any good except hurting a lot of people.'

Tragedy: The I Kissed A Girl singer's court battle to buy an LA convent took a tragic turn

Thanks a bunch: The night began when Perry, sitting in the crowd, received a rose from the main dancer and was called onstage to learn a few steps

Holy Land: The pop star visited a religious theme park in Buenos Aires on Saturday, just one day after the nun's death

On her knees: The singer is in Argentina as part of the Witness South American tour

Rebel: Perry has famously outraged her preacher parents with her sexually charged lyrics

Religious upbringing: The Swish Swish artist first discovered her love of singing during church hymns

She and Sister Rita Callanan claimed to have documents from the Vatican which proved they were the rightful owners of the 1927-built Bernard Maybeck-designed compound, which they had lived in since 1978.

They said the Archdiocese should not have become involved in the case.

'You have stolen the property of the Sisters of the Immaculate Heart. Please archbishop... Do what is right in your heart,' Callahan begged in the televised interview just before her friend's death.

They defended Hollister, who wanted to turn the 20,000 square-foot property into a boutique hotel with the nun's blessing, but has now been forced to declare bankruptcy.

'We asked her to save us, to buy the property,' the late Holzman said. 'She had nothing to do with forcing herself on us.'

Back off: Hours before her death Hours before her death, Sister Catherine Rose Holzman pleaded with the Roar hitmaker to back off

Final trip: Sister Holzman and Sister Rita Callanan arrived in court on Friday for a post-judgement hearing

Hollister had listed her net worth on a loan application at around $16 million in 2014.

While Hollister's bid of $44,000 was accepted by the nuns, Perry was willing to pay $10million to the nuns in cash, plus an additional $4.5 million for the home’s House of Prayers, an Archdiocese spokesperson previously told DailyMail.com.

A judge voided Hollister's sale last year, saying the archdiocese had the right to sell the property, not the nuns.

On her side: They defended Hollister (left), who wanted to turn the convent into a boutique hotel with the nuns blessing, but has now been forced to declare bankruptcy

In December a jury in LA awarded a total of $10 million in punitive damages to Perry and the Archdiocese of Los Angeles; It followed an earlier decision to award $5 million in compensatory damages divided between the two entities on November 17.

In the lawsuit, the jury found that Hollister interfered with contractual relations and other misdeeds. They also found that her actions led to Perry and the archdiocese having to pay exorbitant lawyer fees and other costs, which Hollister should get the bill for.

The Sisters of the Most Holy and Immaculate Heart of the Blessed Virgin Mary haven't lived in the convent for several years, with the archdiocese emptying it against their wishes in 2011.

Under dispute: Katy Perry had made an offer of $15m for the Los Feliz convent

Wow: The magnificent eight-acre hilltop property and its Roman-villa style buildings sits in the trendy neighborhood of Los Feliz

Even before the dispute over ownership, The Sisters were at loggerheads with the archdiocese.

Back in the 1960s they abandoned the practice of wearing habits and and wanted to set their own bedtimes and times to pray.

However a crackdown by the archdiocese followed. When the Vatican refused to step in, 300 nuns broke with the church and formed their own community.