Former San Francisco 49ers defensive coordinator DeMeco Ryans has reportedly agreed to a six-year contract with the Houston Texans to become their next head coach.

The Texans just announced Tuesday that they had a second interview with the Ryans, and it was clearly a meeting that went well as the job offer says.

«We have completed additional discussions with the DeMeco Ryans regarding our head coaching position,» the Texans said in a statement.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

San Francisco 49ers defensive coordinator DeMeco Ryans on the field before the game against the Miami Dolphins at Levi’s Stadium on December 4, 2022 in Santa Clara, California. The 49ers defeated the Dolphins 33-17.
(Michael Zagaris/San Francisco 49ers/Getty Images)

ESPN reported that the agreement was reached later on Tuesday.

After turning down the Denver Broncos’ head coaching vacancy, it became clear that Ryans was about to be named the next Texans man to lead the locker room. He was also a fan favorite, having played six seasons for them during his NFL career.

Overseeing the NFL’s No. 1 defense in yards and points allowed last regular season, Ryans became a top coaching candidate by reaching the postseason. After losing to the Philadelphia Eagles in the NFC Championship game last Sunday, Ryans is ready to jumpstart his coaching career.

JJ WATT’S CRYPTIC TWIT HAS NFL WORLD WONDERING IF HE COULD TRANSITION TO COACH

In addition to the Broncos, Ryans canceled interviews with the Arizona Cardinals and Indianapolis Colts for his head coaching performances last Saturday as he wanted to focus on the championship game.

San Francisco 49ers defensive coordinator DeMeco Ryans talks with linebacker Fred Warner #54 during training camp at SAP Performance Facility on July 31, 2021 in Santa Clara, California.

San Francisco 49ers defensive coordinator DeMeco Ryans talks with linebacker Fred Warner #54 during training camp at SAP Performance Facility on July 31, 2021 in Santa Clara, California.
(Thearon W. Henderson/Getty Images)

Ryans made two Pro Bowls during his years with Houston, playing with them from 2006-11.

TEXANS Rookie WR JOHN METCHIE MAKES ‘INCREDIBLE’ PROGRESS IN RECOVERY FROM LEUKEMIA, GM SAYS

What the Texans crave is a head coach who can provide job stability after having had four in the last three seasons. First, it was Bill O’Brien during the 2020 season, with Romeo Crennel taking his place as interim coach.

Then David Culley and Lovie Smith have had one-off campaigns the past two seasons.

San Francisco 49ers defensive coordinator DeMeco Ryans watches during the first half against the Dallas Cowboys in the NFC Divisional Playoff game at Levi's Stadium on January 22, 2023 in Santa Clara, California.

San Francisco 49ers defensive coordinator DeMeco Ryans watches during the first half against the Dallas Cowboys in the NFC Divisional Playoff game at Levi’s Stadium on January 22, 2023 in Santa Clara, California.
(Lachlan Cunningham/Getty Images)

The Ryans will take over a young roster that needs to continue to rebuild since they last made the playoffs in 2019.

CLICK HERE TO GET THE FOX NEWS APP

He and general manager Nick Caserio will be armed with the No. 2 overall pick in the 2023 NFL Draft, as well as a projected salary cap of $39 million.