Wade Phillips stood on the sideline at AT&T Stadium, his play card in his left hand, his right hand on his hip.
The Rams defensive coordinator watched as quarterback Dak Prescott lined up the Dallas Cowboys inside Rams’ territory, facing fourth and 10 with 36 seconds left.
Prescott completed a short pass to Ezekiel Elliott, who turned to run as linebacker Connor Barwin dragged him down.
Rams players signaled Elliott short of a first down. Phillips looked around, waiting for confirmation.
Officials measured, and the chains proved Barwin made the tackle with less than a yard to spare.
Phillips’ defense finished the job in the 35-30 comeback victory, which marked Phillips’ first appearance against his former team since he was fired as head coach in 2010.
“Guys made plays when they needed to,” linebacker Robert Quinn said after the game. “And we made plays at the end to seal the deal.”
Coach Sean McVay presented Phillips with a game ball after the victory as players surrounded their 70-year-old coordinator and ruffled their hands through his hair.
“I can’t say enough about the defensive effort,” McVay said.
The Rams struggled against the run the last two weeks. Even Phillips made an unprompted jab about his unit’s need to fix the issue during a weekly news conference.
The secondary and pass defense, through three weeks, appeared solid.
But in the first half against the Cowboys, every aspect of Phillips’ 3-4 scheme appeared broken.
Phillips started rookie Tanzel Smart in place of Ethan Westbrooks in an attempt to slow the run. The change didn’t initially help.
In the first half, Prescott passed for 155 yards and two touchdowns, Elliott rushed for 56 yards and backup running back Alfred Morris broke off a 70-yard run.
And three-time Pro Bowl receiver Dez Bryant caught two passes for 50 yards against franchise cornerback Trumaine Johnson.
“They were making plays,” Quinn said, “keeping us on our heels.”
Rams running back Todd Gurley leaps over Cowboys defenders during a third-quarter drive.(Robert Gauthier / Los Angeles Times)
Rams defensive lineman Aaron Donald harasses Cowboys quarterback Dak Prescott ,who escaped his grasp to complete pass during the third quarter.(Robert Gauthier / Los Angeles Times)
Rams players, including quarterback Jared Goff (16), celebrate as the Cowboys fail to finish a last-second drive, sealing a 35-30 win over Dallas.(Robert Gauthier / Los Angeles Times)
Rams linebacker Mark Barron intercepts a pass by Dak Prescott next to teammate Nickell Robey-Coleman.(Robert Gauthier / Los Angeles Times)
Rams receiver Cooper Kupp is upended after making a reception during a third-quarter drive.(Robert Gauthier / Los Angeles Times)
Kicker Greg Zeurlein converts a 33-yard field goal, his seventh of the game, to give the Rams a 35-30 lead late in the fourth quarter.(Robert Gauthier / Los Angeles Times)
Rams kicker Greg Zeurlein and holder Johnny Hekker shake hands after Zeulein made a 33-yard field goal with two minutes left in the game against the Cowboys.(Robert Gauthier / Los Angeles Times)
Rams kicker Greg Zeurlein watches the ball split the uprights for one of his seven field goals against the Cowboys.(Robert Gauthier / Los Angeles Times)
Rams quarterback Jared Goff lofts a pass while under pressure from Cowboys linebacker Jaylon Smith during the first half.(Robert Gauthier / Los Angeles Times)
Rams kick returner Pharoh Cooper is upended by Cowboys defender Rod Smith during the first quarter.(Robert Gauthier / Los Angeles Times)
Rams cornerback Trumaine Johnson nearly pulls down an interception on a pass intended for Cowboys receiver Dez Bryant, but drops the ball during first-half action.(Robert Gauthier / Los Angeles Times)
Cowboys running back Ezekiel Elliott dives past Rams linebacker Mark Barron for a touchdown during the first half.(Robert Gauthier / Los Angeles Times)
Punt returner Ryan Switzer fumbles the ball as he is tackled by Rams defenders Cory Littleton, left, and Blake Countess during second-quarter action.(Robert Gauthier / Los Angeles Times)
Players warm up before the Rams and Cowboys played Sunday at ATT&T Stadium.(Robert Gauthier / Los Angeles Times)
Said Johnson: “We made a couple mistakes.”
Phillips huddled with the defense at halftime, and Alec Ogletree delivered an impassioned speech, according to safety Maurice Alexander.
After allowing the Cowboys to score in each of their four first-half possessions, the Rams made four consecutive stops, followed by an interception.
“Guys stood up,” McVay said. “And they were much more efficient on early downs.”
Prescott struggled to find a rhythm as the defense brought pressure.
“They had a solid rush,” Prescott said.
Lineman Michael Brockers forced Prescott to make an errant pass that linebacker Mark Barron intercepted. The turnover was converted into a field goal that gave the Rams a 32-24 lead.
“We locked in and came out and played better,” Barron said. “We weren’t satisfied with the first half. Just came in and tried to reset everything.”
Barwin and Brockers each sacked Prescott. Lineman Aaron Donald recorded two quarterback hits and a tackle for a loss.
Prescott completed 20 of 36 passes for 252 yards and three touchdowns. Elliott rushed for 85 yards — only 29 in the second half .
“I’m glad how we bounced back,” Johnson said. “All those plays were fixable.”