“Jericho” co-creator Jon Steinberg is teaming with author James Frey and DreamWorks TV for a legal drama that has landed at CBS and CBS TV Studios with a sizable penalty attached.

Steinberg is penning the pilot for “Legacy,” which revolves around a one-term president who, after failing to win re-election, returns to his hometown law firm where he’s able to hand-pick the cases that really matter to him.

The idea for “Legacy” was developed by Frey’s Full FathomFive book production company, which previously worked with the film side of DreamWorks on “I Am Number Four.”

Frey had already been pitching various TV skein concepts to DreamWorks TV’s Justin Falvey and Darryl Frank, and at the same time had been talking to Steinberg about projects. The final matchmaking on “Legacy” was streamlined by WME, which reps Steinberg, Frey and DreamWorks TV.

The CBS pact marks the third big drama commitment DreamWorks TV has landed in recent weeks, following its deal with Showtime to develop Stephen King’s “Under the Dome,” and the recent sale of crime family drama “The Raiding Party,” from scribe Nick Santora, to Fox (Daily Variety, Sept. 23).

Steinberg and Frey will exec produce “Legacy” along with Falvey and Frank.

Steinberg has also been busy with other development, having signed for an ambitious fantasy project at ABC. “Beauty and the Beast” is described as a dark tale with a deep mythology revolving around the kidnapping of a king’s daughter by beastly rebels (it bears no resemblance to the Disney toon or the 1987-90 CBS series). “Legacy,” however, is Steinberg’s first-position project.

Steinberg was a co-creator and exec producer of CBS’ cult-fave drama “Jericho,” and more recently he developed the comicbook “Human Target” into an action-drama series for Fox and Warner Bros. TV.

In addition to WME, Steinberg is repped by the law firm of Nelson Davis Wetzstein. Frey’s also with manager Courtney Kivowitz of Schiff Co. and attorney David Krintzman of Morris Yorn.