Actor Robin Williams reportedly left a $50 million inheritance to his three children.

Williams who committed suicide in August while battling depression and Parkinson's, is said to have drawn up his will in 2011 before marrying his third wife Susan Schneider, according to Entertainment Wise.

Williams' three children are to be looked after by the Robin Williams Trust, which was first set up in 1989 to care for his first child, Zachary. The trust was updated after the birth of each of his other children, according to The Daily Mail.

The trust is set up to be given out in stages. According to documents Radar Online reports to have, "When the beneficiary reaches the age of 21 years ... [they would receive] one third of the principal." At 25, they would receive "one half of the remaining principal," and at 30 they would receive "the remaining trust property ... outright."

Zachary is 31-years-old and will receive his entire share. Zelda, age 25, is entitled to half, while the youngest, Cody, 21-years-old, is eligible for a third.

Susan, the wife Williams left behind, will be taken care of by the prenuptial agreement signed in September 2011.