SAN FRANCISCO — Aiming to ease years-in-the-making budget disparities aggravated by large budget cuts, the governing body of California’s judiciary on Friday approved a complex new formula to fund its 58-county trial court system.

The formula adopted by the Judicial Council is the biggest shake-up in state court funding since 1997, when the Lockyer-Isenberg Trial Court Act was signed.