Sam Lloyd, 'Scrubs' and 'Cougar Town' actor, dies at 56

Sam Lloyd, best known for playing lawyer Ted Buckland on Scrubs, has passed away at age 56. In January 2019, the veteran actor was diagnosed with an inoperable brain tumor, just weeks after welcoming his first child.

Scrubs star Zach Braff remembers Lloyd as "one of the funniest actors I’ve ever had the joy of working with."

Bill Lawrence, who created the medical comedy, called Lloyd "truly such a kind, sweet guy." Lloyd reprised the role of Ted Buckland for Lawrence's show Cougar Town.

Lloyd's diagnosis was revealed last year when Scrubs producer Tom Hobert and his wife, Jill, launched a GoFundMe campaign for the actor and his family. They revealed Lloyd started to experience headaches and initially attributed it to his new sleepless lifestyle as a dad. He went to the doctor after the headaches became stronger.

"The doctor thought the pain might be sinus-related so he ordered a CT Scan. The scan revealed a mass on Sam’s brain," the Hoberts wrote. "Within a day, he was in brain surgery. Unfortunately the tumor was too intertwined so the surgeons couldn’t remove it. By Sunday, Sam and Vanessa were informed that the cancer in his brain had metastasized from his lungs. Further scans showed the cancer was also in his liver, spine, and jaw."

Lloyd appeared in dozens of TV shows including Desperate Housewives, Modern Family, Shameless, Spin City and Seinfeld. He appeared in the films Galaxy Quest and Flubber and was also a musician.

Lloyd is survived by his wife Vanessa and their baby boy Weston.

Read more from Yahoo Entertainment: