Decades ago, a marriage that was at least 10 years long was nearly a retirement contract. Over the last couple of decades, California Appellate and Supreme Court decisions have interpreted the rules differently and more liberally.
https://farzadlaw.com/alimony-california-after-10-years-marriage#