Cal. Rev. & Tax. Code § 23707
(a) Except as provided in subdivision (b), the status of any organization as a private foundation shall be terminated only if—
(b)
(1) The status as a private foundation of any organization shall be terminated if—
(A) Such organization distributes all of its net assets to one or more organizations described below (other than clauses (vii), (viii), (ix) or (x)) each of which has been in existence and so described for a continuous period of at least 60 calendar months immediately preceding such distribution and exempt from tax under Section 23701d of the Revenue and Taxation Code or Section 501(c)(3) of the Internal Revenue Code during the last 60 months, or—