Gov. Gavin Newsom on Wednesday signed legislation launching a court- and county-based program aimed at getting severely mentally ill Californians into treatment before they succumb to the dangers of homelessness.

Newsom’s signature triggers a one-year sprint for state judicial branch leaders to figure out how the program will work—particularly whether new judges and staffing will be needed—in the seven courts chosen to start the Community Assistance, Recovery and Empowerment, or CARE, Court system by Oct. 1, 2023.