Inheritance of the estate, if there is a will, shall be in accordance with the will; if there is no will, it shall be in accordance with the law. The right of inheritance shall be equal to men and women and shall be inherited in the following order:
First order: spouse, children, parents.
The second order: brothers and sisters, grandparents, maternal grandparents.
Children include legitimate children, illegitimate children, adopted children and step children who are dependent.
Parents include biological parents, adoptive parents and step parents who are dependent.
Brothers and sisters include brothers and sisters with the same parents, half brothers and sisters, adoptive brothers and sisters, and step brothers and sisters who have supported each other.
If a child of the decedent dies before the decedent, the direct lineal descendant of the child of the decedent shall inherit in subrogation. In general, a subrogation heir can only inherit the share of the estate that his father or mother is entitled to.
Widowed daughter-in-law who has made major contributions to the father-in-law and mother-in-law, and widowed son-in-law who has made major contributions to the father-in-law and mother-in-law, shall be regarded as the first heir in order.
Successors in the same order shall generally inherit in equal shares.
When distributing the estate, consideration shall be given to heirs who have special difficulties and lack the ability to work.
When distributing the estate, a successor who has made major contributions to the maintenance of the decedent or who lives with the decedent may receive a larger share.
If successors who have the ability and conditions to support them fail to fulfill their obligations of support, they shall, at the time of distributing the estate, be given no or less.
Successors may also be unequal if they agree through consultation.