California Code ARTICLE 12 - Historical Property Contracts Section 50289.
50289. In the event that property restricted by a contract with a county under this article is annexed to a city, the city shall succeed to all rights, duties, and powers of the county under such contract.