NASHVILLE, Tenn. (AP) — Blaine Gabbert threw a 2-yard touchdown pass to MyCole Pruitt with 4:30 left and the Tennessee Titans kept their playoff hopes alive by rallying to beat the Washington Redskins 25-16 on Saturday.

Gabbert came off the bench for the third time this season after the Redskins knocked Marcus Mariota out of the game late in the first half with a stinger. Gabbert hit Taywan Taylor for 35 yards to jump-start the winning drive, Derrick Henry ran four times for 33 yards, his last an 18-yarder to the 2. Gabbert then hit Pruitt at the back of the end zone.

The Titans (9-6) now must beat Andrew Luck and the Indianapolis Colts and have either Baltimore or Pittsburgh lose once to earn the AFC’s second wild-card spot for a second consecutive playoff berth.

Safety Kevin Byard intercepted Josh Johnson’s pass on third-and-3 with 1:17 left. Then Malcolm Butler picked off a pass as time expired and ran 56 yards for an emphatic TD.

Mariota had thrown for 110 yards when sacked with 48 seconds left in the first half by defensive end Jonathan Allen. His right, throwing shoulder and arm were examined, then he walked to the locker room and was replaced by Gabbert.

The Titans said Mariota suffered a stinger, the same injury that knocked him out of Tennessee’s loss Nov. 18 at Indianapolis. He also was knocked out of the season opener with an elbow injury that cost him a start.

Gabbert threw for 101 yards, and Henry finished with 84 yards and a TD on 21 carries. Coming up next for Tennessee they host the Colts December 30.