By Lynette Rice
Updated October 28, 2012 at 05:28 AM EDT

Comedy writer Alan Kirschenbaum, whose vast TV credits include the co-creation of CBS’ long-running sitcom Yes, Dear as well as writing for the laughers My Name is Earl and Raising Hope, has died. He was 51.

Pending examination, the Los Angeles County Coroner on Sunday called it an apparent suicide.

Kirschenbaum most recently created the new comedy Friend Me with Ajay Sahgal for possible inclusion in CBS’ midseason schedule. It stars Christopher Mintz-Plasse (Superbad). The son of comedian Freddy Roman, Kirschenbaum’s earlier credits include Coach, The Gregory Hines Show, and Stark Raving Mad.

“We are stunned and devastated to hear the news this morning of Alan’s passing,” according to a CBS statement. “We have lost a long-time colleague, a valued friend and truly one of the most well liked individuals in our midst. We will remember a gifted and successful comedy writer/producer who shared generously of his time beyond his show duties to help the network and studio in a variety of ways; a kind and gentle man; and a warm and witty conversationalist who could always be seen chatting up many on our lot ranging from assistants to senior

executives. Everyone at CBS truly loved Alan and he will be deeply missed. Our hearts grieve for his wife Vicki, daughter Molly, sister Judi, mother Ethel and his father, comedian Freddie Roman, and all of Alan’s family and friends.”

Greg Garcia, Kirschenbaum’s co-creator on Yes, Dear and longtime collaborator, released the below photo from Yes, Dear (featuring Mike O’Malley, center, Kirschenbaum, left, and Garcia, right). His statement follows.

“This was who Alan was. Always making me laugh harder than anyone else could. I hope somewhere Alan is telling a joke and God is doing a spit take but for those of us he left behind, we’re devastated.”