Garry Shandling was always known as a generous spirit to his friends. He died nearly three years ago, but is still proving that. Shandling has bestowed $15.2 million to benefit medical research at the David Geffen School of Medicine at UCLA.

Shandling 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.

“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. 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.”

The bequest is part of the $4.2 billion Centennial Campaign for UCLA, which is scheduled to conclude in December 2019 during UCLA’s 100th anniversary year.