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.

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.

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.

Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.