Afeni ShakurSmarter Than Prince ...Tupac's Money and Music Protected

5/4/2016 1:00 AM PDT

Afeni Shakur Made Sure Tupac's Money and Music Were Protected

EXCLUSIVE

Tupac's mother guarded his music and financial legacy in life, and TMZ has learned Afeni Shakur took extraordinary steps to do the same in death.

Afeni had set up a trust to control all of Tupac's music rights, and a rep for his estate tells us the paperwork is flawless. She also named the perfect executor, Tom Whalley -- former head of Warner Bros. Records -- to handle Tupac's valuable catalog.

We're told the trust is very specific about heirs, and the money is going to select charities and family. Afeni is survived by her sister, Gloria, and a daughter, Sekyiwa Shakur ... Tupac's half sister.

Interestingly, Tupac's mother was repped by attorney Howard King, who also worked with Prince years ago. He says Prince hated dealing with paperwork and rarely listened to advisors, but Afeni was the exact opposite -- which is why there shouldn't be any legal battles over Tupac's fortune.