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: Hundreds Of SF Homes, Businesses Without Power In SOMA, Mission Bay

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: UPDATE: Vallejo Fire Crews Knock Down 4-Alarm Brush Fire After Evacuations Ordered

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: California Reopens: Surviving San Jose Businesses Cheer Lifting Of COVID-19 Rules - 'Something Much, Much Better'

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