Bill Clinton was in the White House when Steve Levitan signed his first overall deal with 20th Century Fox TV. His latest four-year extension will keep the “Modern Family” co-creator at the studio well past the end of the Obama administration.

Levitan’s extended pact calls for him to continue as co-showrunner and exec producer of 20th TV’s monster ABC hit, which he co-created with Christopher Lloyd. The multi-hyphenate will also develop new projects and help supervise other prospects for the studio — as he has done in recent years.

“I don’t want to think about being at this studio without having a deal with Steve in place, and happily I don’t have to,” said 20th TV chairman-CEO Dana Walden. “He’s wildly talented and just incredibly smart about the business, not to mention a fantastic guy. Steve’s still one-hundred percent committed to ‘Modern Family,’ but this deal also allows him to develop, direct, supervise other writers. The possibilities are endless. We couldn‘t be happier to be extending our relationship.”

Levitan said he had no inclination to look for a new studio home, nor to roam from running “Modern Family.” And he offered high praise for Walden and her fellow chairman-CEO Gary Newman.

“I’m lucky to be part of a hit comedy that even my kids seem to like and I care deeply about it finishing strong,” Levitan said. “I love all the wonderfully insane people with whom I get to work. Gary and Dana are the Jay Z and Beyonce of television executives. I see no reason to leave.”

“Modern Family” is about to wrap its fifth season on ABC and is in the midst of its first year of making big bucks in syndication on USA Network. The domestic laffer has enjoyed a streak of four consecutive Emmy wins for best comedy, in addition to collecting a boatload of other trophies. Levitan won a comedy directing Emmy in 2012 for his work on the show, and he shared in comedy writing wins in 2010 and 2011.

Levitan came up through the NBC comedy school of “Wings” and “Fraiser” before scoring with the first series he created, NBC’s “Just Shoot Me.” His other series efforts have included Fox’s “Greg the Bunny” and “Back to You.”

Levitan is repped by UTA and attorney Sam Fischer.