Prince William Harry Princess Diana
Princess Diana left her millions to her sons, Prince William and Prince Harry. Above, the royals are pictured Aug. 30, 2017 in London. Getty Images

Twenty years after Princess Diana tragically died Aug. 31, 1997, the world is still fascinated by her life. Diana left behind a legacy of compassion and had charisma that was never expressed by a royal before. She also left behind millions of dollars for her two sons, Prince William and Harry, to inherit.

At the time of her death, 36-year-old Lady Di had an estimated net worth of $40 million, according to Celebrity Net Worth.

When she divorced from Prince Charles in 1996, she was given $24 million in the settlement. “Princess Diana took every penny he had,” Geoffrey Bignell, who handled Prince Charles's finances for more than a decade, told the Telegraph last week. “I was told to liquidate everything, all his investments, so that he could give her the cash. He was very unhappy about that. That's when I stopped being his personal financial adviser because he had no personal wealth left. She took him to the cleaners.”

Diana, who married Charles when she was 20 years old, gave up her title as “Her Royal Highness” so she would get more money from Charles. She reportedly regretted the decision.

The money she earned was split equally between William and Harry in her last will and testament, which she signed June 1, 1993, according to The Balance. She updated it Feb. 1, 1996. Her sons were not permitted to touch the money until they were 25 years old. Diana appointed her mother, Frances Ruth Shand Kydd, and her sister, Lady Elizabeth Sarah Lavinia McCorquodale, as the co-executors and co-trustees.

Like their mother, Prince William and Harry became involved in multiple charities. They both hope they made her proud.

“Twenty-one years ago, my mother attended the launch of the Child Bereavement charity. Fifteen years later, I was honored to be invited to become Patron of Child Bereavement UK to continue my mother’s commitment to charity which is very dear to me,” Prince William said at the Child Bereavement Charity Gala in October 2015. “What my mother recognized back then — and what I understand now — is that grief is the most painful experience that any child or parent can endure. As a father to two young children myself, I now appreciate it all the more.”

“I hope she’s looking down, you know, with tears in her eyes, being incredibly proud of what we’ve established, I suppose. I’m sure she’s longing for me to have kids so she can be a grandmother again. I hope that everything we do privately and officially, that it makes her proud,” Prince Harry on Good Morning America in March 2016. “We will do everything we can to make sure that she’s never forgotten and carry on all the special gifts, as such, that she had and that she portrayed while she was alive. I hope that a lot of my mother’s talents are shown in a lot of the work that I do.”

Follow me on Twitter @mariamzzarella