The county and city may agree that the city shall acquire, construct or maintain designated county highways or portions thereof within the city, the cost thereof to be paid by the county or the city or both agencies as may be agreed upon.
Ca. Sts. and High. Code § 1726