The San Francisco 49ers promoted run game coordinator Mike McDaniel to offensive coordinator and inside linebackers coach DeMeco Ryans to defensive coordinator, multiple outlets reported Monday.

Ryans replaces Robert Saleh, who left to become the head coach of the New York Jets. McDaniel replaces Mike LaFleur, who followed Saleh to be the offensive coordinator for the Jets.

McDaniel just completed his fourth season with the 49ers and third as the run game coordinator. He previously served as the team’s run game specialist in 2017.

Ryans also finished his fourth season with the 49ers and third as the team’s inside linebackers coach. He served as the team’s defensive quality control coach in 2017.

San Francisco fielded a top-10 defense in total yards (fifth), rush yards (seventh) and pass yards (fourth) under Saleh’s leadership last year. In 2019, the 49ers were second overall in the league in total defense (281.8 yards per game) and first in pass defense, as its 169.2 per-game average was the league’s best since the Jets’ allowed an average of 153.7 through the air per game in 2009.