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: Bail Set For Woburn Man Accused Of Accidentally Shooting Friend While Showing Off Gun

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: Head Of The Charles Regatta Will Return To Boston This Fall

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: 3 Boston Police Officers, City Sued For Alleged Excessive Force On 4 Protesters In May 2020 Riot

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