Robin Williams is eyeing a return to the small screen with an untitled workplace comedy written by David E. Kelley. CBS is in talks to pick up the pilot, which will be produced by 20th Century Fox Television.

The show is set within the advertising world, with the actor set to play an executive who works alongside his daughter. David E. Kelley will executive produce alongside Bill D'Elia. David E. Kelley wrote the pilot script first before shopping it around to studios and networks, as opposed to just pitching an idea.

If the series is picked up, it will mark his return to the network where he created his first Emmy-winning show, Picket Fences. It will also be his first half-hour show since Doogie Howser, M.D..

Robin Williams first made a name for himself in the hit comedy series Mork & Mindy, which ran from 1978 to 1982. He hasn't starred in a TV series since, although he did appear on the FX shows Wilfred and Louie this summer.