Any county may contract with another county or counties jointly to secure, by purchase or otherwise, necessary lands, and to erect and maintain a county sheltered care home or county nursing home under this Division. The approval of the County Board of each county shall be necessary for the exercise of the powers enumerated in Section 5-21001. A joint home may be dissolved or abandoned by agreement of the participating counties, or upon petition to the Circuit Court, upon such terms as are equitable and just to the participating counties.
55 ILCS 5/5-21004