He’s the man behind two of CBS’ most successful shows, and he’s staying in the Eye fold for at least another three years.

Shane Brennan, exec producer of “NCIS” and “NCIS: Los Angeles,” has inked a three-year overall deal with CBS TV Studios valued in the low eight-figure range.

Accord covers Brennan’s services as exec producer on “NCIS” and “NCIS: Los Angeles,” and it includes a development component.

Under the deal, Brennan will remain at the helm of “NCIS: Los Angeles” next season but hand day-to-day showrunning duties on the mothership to exec producer Gary Glasberg. Glasberg joined “NCIS” last season and quickly became a key lieutenant for Brennan, who has divided his time between the “NCIS” set in Valencia and the “NCIS: L.A.” stage on the Paramount lot.

“My role now will be to have the broader-canvas view of both shows and to make sure that the ‘L.A.’ part of the franchise meshes well with (‘NCIS’),” Brennan said. “Because these two shows air back-to-back, it’s important that we don’t trip over ourselves by telling the same stories.”

Brennan took the helm of “NCIS” during its fifth season. The show, which is about to wrap up season eight, has enjoyed a resurgence on his watch, and Brennan spearheaded the “NCIS: L.A.” spinoff in 2009. “NCIS” now ranks as primetime’s most-watched drama with an average of 19.5 million viewers; “NCIS: L.A.” is No. 2 with an average of 17.3 million. The two are competitive in the adults 18-49 and adults 25-54 demo derbies as well.

Brennan credits CBS with giving him “an enormous break” when they entrusted him with “NCIS” as a showrunner. “They took a risk in supporting me when they put me in charge, and I’m very loyal to them for that,” he said.

He also made a point of giving a shoutout to the long-serving crew members on both shows. Some of them have been working together since the days of “JAG,” the drama that begat “NCIS” in 2003.

“It really does make a difference when you work with people who can handle anything you throw at them and rise to the challenge,” he said. “I consider myself the luckiest showrunner in television.”

Brennan is repped by Paradigm.