SACRAMENTO (AP) — Gov. Jerry Brown has signed legislation granting visiting rights to adult children of ailing parents, sparked by a family dispute over who could visit radio broadcasting legend Casey Kasem.

Brown announced Tuesday that he signed AB1085, which allows judges to order visitation, telephone calls and personal mail with a sick parent.

READ MORE: John McAfee Found Dead In Spanish Prison After Court OKs Extradition

Glendale Democratic Assemblyman Mike Gatto says his legislation will help families connect at what can be a critical time. It also requires caretakers to notify certain family members when a parent dies.

READ MORE: Amtrak's Pacific Surfliner Expanding Its SoCal Service

Gatto cited the difficulties faced by Kerri Kasem as she tried to see her father before his death last year. She now co-hosts the “Protect Your Family” and “Gurvey’s Law” talk shows on KABC Radio.

He says Kasem’s situation brought thousands of similar complaints.

MORE NEWS: Pursuit Suspect Fatally Shot By Deputy In Norwalk

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