LOS ANGELES (CBS SF / AP) — An analysis has found an increasing number of California state workers are retiring with massive payouts for unused vacation and other leave.

The Los Angeles Times reports Thursday that its review of payroll data from the state controller’s office shows the state paid employees nearly $300 million for banked time off last year.

READ MORE: Former Presidential Candidate Andrew Yang Touts Basic Income at Mountain View Rally

And, as of 2017, state workers had $3.5 billion in unused leave.

Vacation balances for most employees are supposed to be capped at 640 hours.

READ MORE: National Park Service Proposes Parking Fees at Popular Bay Area Beaches

But the analysis found that sporadic enforcement of the rule and an increasing number of state workers retiring have led to a 60 percent rise in the number of six-figure payouts since 2012.

The data do not include legislative employees or institutions such as public universities, meaning the cost is higher.

MORE NEWS: CVS Stores Roll Out Pfizer Booster Shots Across Bay Area

© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.