Army coach Jeff Monken was able to joke afterward.

“We had ’em all the way,” Monken deadpanned.

It wasn’t quite that easy for the Black Knights.

Darnell Woolfolk scored on a 1-yard run with 18 seconds left, Kell Walker converted a go-ahead 2-point run and Army added a last-play-of-the-game defensive touchdown for a 42-35 win over San Diego State on Saturday in the Armed Forces Bowl, in Fort Worth, Texas.

After Rashaad Penny’s fourth touchdown run of the game gave San Diego State (10-3) a 35-28 lead with 5:47 to play, Army (10-3) drove 72 yards for the tying score and winning conversion. Monken eschewed trying a kick for a tie that probably would have sent the game into overtime. Instead, Walker swept around the right side to easily make the 2-point conversion.

“Our line did a tremendous job,” Walker said. “All I had to do was catch it and run.”

Monken said there was no doubt the Black Knights would go for 2 points if they pulled within one in the closing minutes with a TD.

“That No. 20, Rashaad Penny — if we went into overtime, he’s going to get the ball in his hands again,” Monken said. Penny ran for 221 yards, his fifth straight game of at least 200 yards. His scores came on runs of 81, on his first carry, 31, 49 and 4 yards.

San Diego State had one last chance. The Aztecs completed a pass and then made multiple laterals from their 40. The final throw was intercepted by Elijah Riley, who returned it 29 yards for a touchdown.

Juwan Washington added the Aztecs’ other touchdown, on a 78-yard kickoff return in the first half’s closing seconds.

“Obviously, Rashaad and Juwan had a great night,” Aztecs coach Rocky Long said. “Our defense played really, really poorly. And that’s coaching. So, that’s my fault.”

Army dominated the time of possession. The Black Knights ran 91 plays to the Aztecs’ 30 and held the ball for 46:00 to San Diego State’s 13:53.

“That’s our brand of football,” Monken said. “We don’t have anybody like they have — when you break through the line, it’s six points.”

South Florida wins • Tyre McCants caught a 26-yard TD pass from Quinton Flowers with 16 seconds left to lift No. 23 South Florida to a 38-34 victory over Texas Tech in the Birmingham (Ala.) Bowl.

Flowers lifted the Bulls (10-2) to a second straight dramatic victory in the bowl game at Legion Field, throwing for a pair of touchdowns in the final 4:26.

The Red Raiders (6-7) had taken the lead back with Nic Shimonek’s 25-yard touchdown pass to a wide-open T.J. Vasher in the end zone with 1:31 remaining. That left Flowers with plenty of time to work.

He ran 13 and 21 yards for first downs, the latter coming on a third-and-10 play. Then he found McCants on their second scoring connection.

The Bulls had won last year’s Birmingham Bowl on Flowers’ 25-yard touchdown pass in overtime against South Carolina.

The senior passed for 311 yards and four touchdowns in this one. He also ran 14 times for 106 yards and a fifth score. Marquez Valdes-Scantling gained 133 yards on three catches.

Shimonek took Texas Tech across midfield in the final seconds, but his desperation pass on the run was well short of the end zone.

Shimonek, who had led a fourth-quarter comeback in the regular-season finale against Texas, completed 32 of 59 passes for 416 yards. He threw for three TDs and was intercepted twice on deflected balls.

Appalachian State rolls • Jalin Moore ran for 125 yards and three touchdowns to help Appalachian State overwhelm Toledo 34-0 in the Dollar General Bowl, in Mobile, Ala.

Appalachian State (9-4) won its third straight bowl game since completing its transition to the Football Bowl Subdivision in 2015.

Moore’s big night and the Mountaineers’ impressive defense were the biggest reasons the streak continues.

Appalachian State ran for 327 yards. Senior quarterback Taylor Lamb, who was starting his 49th straight game, threw for 131 yards.

Toledo’s offense was averaging nearly 40 points per game this season but looked lost against Appalachian State’s swarming defense. The Rockets (11-3) were also hurt by four turnovers.

Toledo’s Logan Woodside threw for 124 yards and was intercepted three times. The Rockets finished with just 146 yards of total offense.