BOSTON (AP) — Young adults who had been in the custody of the state will maintain health insurance coverage until their 26th birthday under a new Massachusetts law.

MassHealth, the state’s Medicaid program, will provide the coverage for the former foster youth. Republican Gov. Charlie Baker signed the bill on Tuesday.

READ MORE: On Tuukka Rask, Bruins GM Don Sweeney Gives Most Definitive Statement Yet

The new law also seeks to improve the accuracy of health insurance provider directories.

Supporters of the law say out-of-date and inaccurate directories make it difficult for people — especially individuals with behavioral health conditions — to find timely care.

READ MORE: Fourth Stimulus Check: Should You Expect Another Relief Payment?

Health Care For All Executive Director Amy Rosenthal said maintaining health coverage is particularly challenging for young adults formerly involved with the Department of Children and Families.

The new law is also designed to help families with children facing complex medical challenges.

MORE NEWS: 2 Taken To Hospital With Burns After Chemical Spill In Haverhill

(© Copyright 2019 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)