Cal. Gov't Code § 27010
The treasurer may receive any money constituting gift, bequest, or devise, and pay it out in accordance with the terms thereof, or, if none are fixed, according to law.