A First Nations mother was granted the right to her daughter's remains after a hearing in an Edmonton courtroom Wednesday.

"I'm very humbled, full of emotion," said June Deschamps, a member of the Louis Bull First Nation in Maskwacis.

She petitioned the Court of Queen's Bench after she learned her 23-year-old daughter, Danika Deschamps Yellowhorse, had died Saturday and the young woman's former foster mother intended to donate her organs and cremate her remains.

June Deschamps celebrates with her family after winning the rights to her daughter's remains. 0:39

Both practices are contrary to Indigenous beliefs.

While going to court over her daughter's body was draining, Deschamps said it was a battle she needed to fight.

"I get to take my daughter home," she said. "It's been a long time coming."

Daughter's immune system compromised

The 50-year-old Deschamps said she placed Danika in foster care when she was four months old, because the girl's immune system was compromised and she had juvenile diabetes.

Danika Deschamps Yellowhorse shown in February 2017 (Deschamps family) While it was a heartbreaking decision, she felt she had no choice because the community did not have the medical care the girl needed.

She had no contact with her daughter as a child, but the two reconnected three years ago, Deschamps said.

"She was awesome, she was just amazing, just like my other children," she said. "I was blown away when I first met her. She was outgoing, fun."

Deschamps was shocked by news her daughter had been placed on life support last Wednesday at the Royal Alexandra Hospital.

She learned about it two days later, when a doctor contacted her through the on-reserve child welfare agency.

Danika Deschamps shown alongside her brothers and sisters. (Deschamps family) She said Danika suffered complications from taking a sleeping pill.

Daughter hoped to donate organs, lawyer says

The lawyer for the former foster mother, who was not in court Wednesday, told the court it was the young woman's wishes to have her organs donated and her body cremated.

There were no documents to support the claim.

The former foster mother's lawyer explained her client was not in court because she was too distraught.

At the court hearing, Justice Beverly Browne ruled Deschamps is entitled to obtain the remains, saying the law is clear.

Browne said she hoped the former foster mother will be invited to and included in the funeral service.

Louis Bull First Nation Chief Irvin Bull says the situation should never have happened and hopes the court ruling means no First Nations parent has to face this kind of fight again. (Sam Martin/CBC) Outside court Deschamps said she had already extended an invitation.

Friends and family held a drum ceremony outside court to celebrate the court decision.

"The reason why we're here is to have a child released to the mother so we can conduct our ceremonies," said Louis Bull Chief Irvin Bull. "This situation should not have happened."