The Miami Dolphins are working on making San Francisco 49ers offensive coordinator Mike McDaniel their next head coach, the team announced on Sunday evening.

CLICK HERE FOR MORE SPORTS COVERAGE ON foxnews.1eye.us

Mike McDaniel of the San Francisco 49ers

Offensive coordinator Mike McDaniel of the San Francisco 49ers on the field before the NFC wild card playoff game against the Dallas Cowboys on Jan. 16, 2022, in Arlington, Texas. (Michael Zagaris/San Francisco 49ers/Getty Images)

McDaniel, 38, was reportedly a finalist for the job along with Dallas Cowboys offensive coordinator Kellen Moore and former Buffalo Bills offensive coordinator Brian Daboll, who was named the head coach of the New York Giants last week.

McDaniel, who is biracial, is the first minority to be hired this head coaching cycle. The 49ers will receive a third-round compensatory pick in 2022 and 2023, the NFL Network reported.

Mike McDaniel of the San Francisco 49ers

Mike McDaniel watches the San Francisco 49ers work out during training camp on July 28, 2021, in Santa Clara, California. (Thearon W. Henderson/Getty Images)

JAGUARS' TREVOR LAWRENCE EXCITED TO WORK WITH DOUG PEDERSON: 'HIS RESUME KIND OF SPEAKS FOR ITSELF'

McDaniel worked under 49ers head coach Kyle Shanahan for the majority of his coaching career. He served as the Texans offensive assistant from 2006 to 2008. After a short stay in the UFL, McDaniel served as an offensive assistant in Washington from 2011 to 2012 before becoming the receivers coach in 2013. McDaniel joined the Browns in 2014 as the team’s receivers coach, and then became the offensive assistant from 2015 to 2016 in Atlanta under Shanahan.

The 49ers hired McDaniel as the team’s run game coordinator in 2017 and was promoted to offensive coordinator this past season. San Francisco was ranked seventh in total yards and 13 in points scored.

Mike McDaniel of the San Francisco 49ers

Dante Pettis and Mike McDaniel of the San Francisco 49ers talk before the Chicago Bears game on Dec. 23, 2018, in Santa Clara, California. (Michael Zagaris/San Francisco 49ers/Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

McDaniel will replace Brian Flores, who was fired after three seasons with the organization.

The Texans and Saints are the two teams still searching for a head coach.