In California, you must be 18 to get a divorce. But there is no minimum age to get married, as long as a parent or guardian consent and a court gives permission. California is among just seven states, including New Mexico and Oklahoma, that does not have a minimum age for marriage.
https://calmatters.org/politics/2023/06/child-marriage-california/#:~:text=In California%2C you must be,a minimum age for marriage.