UPPER DARBY — Yuron Villanueva didn’t exhale Saturday until the clock had struck zeros at Upper Darby.

The Ridley defense had held Upper Darby to 117 yards of offense. Yet the Royals were somehow in the red zone with a chance to go ahead and two seconds remaining in a Central League tilt.

Villanueva put his hand in the ground and headed upfield after quarterback Wac Kuol Wac. He turned and held his breath when the junior QB released a pass across the middle. It wasn’t until linebacker Kevin Farley swatted it to the ground that Villaneuva felt safe rejoicing.

“I looked. I held my breath,” Villaneuva said after a wild 17-13 victory. “But I knew there was three people around it. I’m like, my teammates have got it. And when he deflected it, it’s a great feeling.”

The final score was closer than the records indicated, between a Ridley team that won its fifth straight and an Upper Darby side dropping its fourth in a row. But the Royals’ defense frustrated Ridley enough to lead heading into the fourth quarter, only a 7-yard rushing touchdown by Kirkland Plummer with 53 seconds left giving Ridley (5-1, 5-0) its first lead.

The swings of momentum in the first half were chaotic. Ridley’s first nine offensive snaps marched into Upper Darby territory, where it looked like the Green Raiders would take an easy lead. But a loss on second down and two penalties led to a punt.

Upper Darby’s first three offensive snaps went nowhere. They even punted out of fourth-and-17 … until Ridley roughed the punter, the first of a pile of mistakes in a sloppy performance. Five snaps later, Wac heaved a prayer that fell into the arms of Zy’Kerian Reid for a 66-yard touchdown and a 7-0 lead in the final minute of the first quarter.

With how Ridley had moved the ball, that score seemed a momentary annoyance. Until Jamar Savoy fumbled on the next series, UD nose tackle Michael Hoyt smothering it. Then quarterback Jackson Solomon had the ball pop out stretching for a first down at the 13 to curtail a 14-play drive.

“It’s frustration, anger,” Plummer said. “… Just keep a level ahead, motivates your guys, and that’s it.”

Just when the irritation was in danger of cresting, Upper Darby offered a gift.

On the first play after Mustapha Daboh recovered Solomon’s fumble, UD hiked it over the head of Wac and into the end zone, Ridley lineman Nate Tsafos hopping on it for a touchdown and a 7-7 game.

“We couldn’t really get anything at that time,” Villaneuva said. “So when we got that touchdown, it give us good momentum to keep pushing, that we weren’t out of the game.”

Ridley was ready to propagate the advantage by forcing a stop and getting the ball back in plus territory. A Solomon hookup with Plummer for 21 yards set up Tim Calamita to attempt to 30-yard field goal … and watch it get blocked by David Okolosi and returned 80 yards for a score and a 13-7 UD lead at half.

“I was just thinking to push the guard back as far as possible and jump,” Okolosi said. “And I did it. But once I blocked it, I didn’t see anybody laying on the ball, so I just took it. … I just thought, I should go score.”

Upper Darby (1-5, 1-3) entered the locker room with 55 yards of offense, 66 from one snap. It finished the game with 13 yards rushing and 117 yards total. Outside the Reid’s touchdown and a 37-yard connection between Wac and A’zeem Spicer that was a pretty clear drop, UD’s other 34 plays went for a grand total of nine net yards.

Wac was 3-for-11 with an interception. Safiy Salley, the fourth QB to get snaps in six games, was 1-for-2 for six yards.

“Things happen. You get unlucky,” said Villanueva, who had two pass deflections and a sack. “Everybody’s got to do their job. Some days it’s good, some days it’s bad. You just can’t blame anybody. Everybody’s got to play as a team.”

Yet still, Ridley couldn’t capitalize. After a short UD drive to open the second half, Ridley went 15 plays covering 49 yards in 9:58. Calamita kicked a 34-yard field goal, after his first attempt was nullified by a UD penalty and a second by a Ridley penalty.

That kept UD up 13-10 with 10:45 to play. The teams traded punts, and when Ridley got the ball back with 3:52 left, backup Joey Carroll was under center.

Solomon was not bad (9-for-12 for 79 yards; 10 carries for 36 yards) but nor had he visited the end zone. Carroll ran for three on third-and-3, then hit Logan Bubb for 11. Plummer, who finished with 26 carries for 104 yards, carried four times, the last a 7-yard score.

“We’ve just got to look for something,” Plummer said. “We’ve just got to look for any type of way to score, if that’s doing some weird play or just doing anything.”

Upper Darby got one last crack, aided by the Spicer reception that was clearly trapped for 37 on fourth-and-3. But Ridley’s front jostled Wac enough to let Farley make a play and preserve a nervier than expected win.

“We have to trust each other,” Villaneuva said. “We’re down and we start falling apart not trusting, we’re never going to win. It’s teamwork. We trust one another.”