 Attempts by the San Francisco Foundation to use the "cy pres doctrine" to spend outside of Marin County resulted in litigation which the SF Foundation lost.As part of a 1986 court settlement, the Marin Community Foundation was established to administer the trust, valued in 2013 at approximately $1 billion.The settlement required that 80% of the trust's annual earnings be distributed to causes specific to Marin County.