Nellie Andreeva

EXCLUSIVE: Michael Patrick King is returning to television. I hear Warner Bros kingTelevision is finalizing a mega deal with the Sex And The City writer /producer /director. Under the multi-year pact, King will launch his own TV production company based at WBTV. He plans to focus on cultivating new writers and overseeing the development of series projects for the studio. The deal will start in June, after King puts the finishing touches to Sex And The City 2 and wraps the promotional tour for the movie, which opens May 27th.

King started off in television, working on network sitcoms until he joined HBO’s Sex and the City after the pilot as a co-executive producer. He quickly rose to an executive producer on the hit comedy starring Sarah Jessica Parker and eventually took the reins of the Emmy-winning series as showrunner.

King left television after his underrated 2005 HBO comedy series The Comeback, which earned Lisa Kudrow an Emmy nomination, to mount the first Sex and The City movie that ended up grossing more than $400 million worldwide. He wrote, directed and produced both the 2008 Sex and the City movie and its upcoming sequel. But King had been looking to do television again and his experience working on the feature side with Warner Bros. with the two Sex and the City movies and with another Time Warner sibling, HBO, on the Sex and the City series no doubt factored into his decision to set up shop at WBTV.

While he will be busy getting his new TV company off the ground, hiring an executive and assembling its first development slate, CAA-repped King plans to stay active on the feature side too. He is writing two scripts, including one he is working on with DreamWorks’ Stacey Snider.

TV Editor Nellie Andreeva - tip her here.

For all of Deadline's headlines, follow us @Deadline on Twitter.