Family Code § 7505
PART 1. RIGHTS OF PARENTS
The authority of a parent ceases on any of the following:
(a) The appointment, by a court, of a guardian of the person of the child.
(b) The marriage of the child.
(c) The child attaining the age of majority.