Oklahoma fired defensive coordinator Mike Stoops on Monday after the Sooners struggled to stop Texas during their first loss of the season.

Ruffin McNeill, the assistant head coach and defensive tackles coach, will be the defensive coordinator for the rest of the season.

The No. 11 Sooners (5-1) lost 48-45 on Saturday, allowing 501 yards to the Longhorns in Dallas.

"More of a gut feeling that this was the appropriate response right now, that we, more than anything, needed a different voice in that room," Oklahoma coach Lincoln Riley said during a conference call.

McNeill was defensive coordinator at UNLV from 1997 to 1998, and at Fresno State in 1999. He later served in that same role with Texas Tech from 2008 to 2009 before taking over as head coach at East Carolina from 2010 to 2015.

Riley brought McNeill to Oklahoma as assistant head coach before the 2017 season. Riley's confidence in McNeill played a role in the decision to fire Stoops.

"I felt like that we had people in that room that could bring a spark to us, and Ruffin's certainly a big part of that," Riley said.

Riley was McNeill's offensive coordinator at East Carolina.

"I have a ton of confidence in Ruffin," Riley said. "There's not really anything in this game that he hasn't done. He's one of those guys that, when something like this comes us, he doesn't have to sit back and figure out how he's going to handle it. He knows how he's going to handle it the second the situation's presented."

Oklahoma players reacted to the news on Twitter.

"All I can say is thank you @OU_CoachMike you gave me a shot when nobody else would and for that I am forever grateful no matter what people say they never know you for the great person you really are and how much you care for your players...Thank You Coach," linebacker Kenneth Murray posted.

Riley said the players are comfortable with McNeill, which should help in the transition.

"He does have a confidence about himself," Riley said. "He's got a way with the players. They'll be excited to play for him."

Bob Diaco will move from defensive specialist to coach the outside linebackers. He has been defensive coordinator at Cincinnati, Notre Dame and Nebraska and was the head coach at Connecticut from 2014 to 2016.

Stoops had been defensive coordinator since 2012, when his brother, former Sooners coach Bob Stoops, hired him. It was Mike Stoops' second stint working as an assistant for his brother. Before serving as Arizona's head coach from 2004-11, he was co-defensive coordinator for Oklahoma and his brother from 1999-2003.

The Sooners have struggled defensively the last two seasons, finishing 80th in 2016 and 82nd in 2017 in the country in yards per play allowed. Oklahoma is 17-3 under second-year coach Lincoln Riley and the Sooners have scored an average of 41 points in those games, including a 54-48 loss to Georgia in the College Football Playoff semifinal at the Rose Bowl last season.

In one of Oklahoma's worst outings under Stoops, the Sooners beat Texas Tech 66-59 in 2016, despite giving up 854 yards. That day, Tech quarterback Patrick Mahomes ripped the Sooners for an FBS record 819 yards of total offense, including 734 yards through the air, and frustration from the fanbase reached a boiling point.

After a promising start this season, the complaints returned when unranked Army controlled much of the action before Oklahoma pulled out a 28-21 overtime win at home last month. Army possessed the ball for nearly 45 minutes. At his availability the following week, when a larger-than-usual media contingent got a bit close, Stoops joked that the "vultures were circling."

___

More AP college football: https://apnews.com/tag/Collegefootball and https://twitter.com/AP_Top25

___

AP College Football Writer Ralph Russo contributed to this report.

More From Tide 100.9