Sam Lloyd, 'Scrubs' and 'Desperate Housewives' actor, dies aged 56

Sam Lloyd, best known for playing lawyer Ted Buckland on Scrubs, has passed away at the age of 56.

In January 2019, the veteran actor was diagnosed with an inoperable brain tumour, 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."

Read more: The Gentle Touch star Jill Gascoine dies at 83

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 tumour 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."

Sam Lloyd answers questions at the Q & A for the premiere of "ExTerminators" on day 1 of the 2009 SXSW Film Conference and Festival on March 13, 2009 in Austin, Texas. (Photo by Jay West/WireImage)

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.