Englewood, CO (SportsNetwork.com) - The Denver Broncos made it official Monday and named Gary Kubiak as their new head coach.

Terms of the deal were not disclosed, but the Denver Post on Sunday said the two sides were negotiating a four-year contract.

Kubiak was the offensive coordinator for the Baltimore Ravens this past season after spending eight years as Houston Texans head coach. He indicated earlier this month that he would not be interested in one of the early head coaching vacancies, wanting instead to stay with Baltimore.

However, the Denver job opened last Monday when John Fox and the team decided to mutually part ways.

Kubiak has a long history with the Broncos, first as a backup quarterback to John Elway and then as the club's offensive coordinator.

Elway, of course, is now in charge of the Broncos as the team's executive vice president and general manager.

Kubiak was Elway's backup from 1983-91, starting five games in that span, and was the offensive coordinator from 1995-2005. The Broncos won two Super Bowl titles with Kubiak running the offense.

"While there is no question he is a Bronco, what Gary has learned from his other opportunities around the league -- especially in his eight seasons as a head coach -- will tremendously benefit our organization," said Elway. "Coach Kubiak is all about winning and doing things the right way, which are values that have always been most important to the Broncos and Owner Pat Bowlen."

The Texans hired Kubiak as head coach in 2006 and he guided the franchise to a record of 61-64 with a pair of playoff appearances. Houston went 10-6 in 2011 and 12-4 in 2012, winning the AFC South and one playoff game each year, then followed with a disastrous 2013.

After winning their first two games of the 2013 campaign, Houston went on to lose 11 straight before Kubiak was fired in early December.

Kubiak landed with Baltimore this season and helped the Ravens' offense post a franchise-record 364.9 yards per game. Baltimore reached the playoffs as a sixth seed, beating Pittsburgh before falling to New England.