The David Geffen School of Medicine at UCLA. announced this month that the estate of the late Garry Shandling has bequeathed $15.2 million to the med school.

Shandling, the comedian, actor, director, writer and producer who died in March 2016, earmarked the funds to benefit three units — the division of endocrinology, diabetes and hypertension; the division of infectious diseases; and the UCLA Agi Hirshberg Center for Pancreatic Diseases — as well as general medical research at the David Geffen School of Medicine, establishing a meaningful philanthropic legacy.

His gift will establish and endow the Garry Shandling Endocrine Surgery Research Fund, the Garry Shandling Infectious Diseases Innovation Fund and the Garry Shandling Pancreatic Diseases Fund. The remainder of the bequest will establish the Garry Shandling Medical Research Fund, which will operate under the direction of the medical school’s dean. In his honor, UCLA also has named the Garry Shandling Learning Studio, a 6,400-square-foot multipurpose space located in Geffen Hall, the school’s medical education building.

Several of the comedian’s famous funny friends were on hand for the ceremonial announcement and renaming.

“Innovative medical discoveries and breakthrough therapies developed at UCLA have greatly enhanced — and saved — countless lives,” said UCLA Chancellor Gene Block. “Garry Shandling’s bequest is a testament to his belief in what is possible at UCLA, and we are fortunate to have merited his support.”

Shandling underwent surgery at Ronald Reagan UCLA Medical Center for hyperparathyroidism, a rare condition that can cause heart attacks, and he was open about his gratitude to his doctors for the care he received. Dr. Michael Yeh, the section chief of endocrine surgery, and Dr. Howard Reber, a distinguished professor of surgery, remember Shandling for his intellect and quick wit and for his concern for others, especially those with similar endocrine conditions.

“To meet the challenge of developing the future of medicine in the detection, treatment and prevention of diseases requires committed philanthropic partners,” said Dr. John Mazziotta, vice chancellor for UCLA Health Sciences and CEO of UCLA Health. “Mr. Shandling has created a meaningful legacy by investing in research that will yield life-changing discoveries and help countless patients and their families for years to come.”