Dak Prescott and the Dallas Cowboys couldn’t get the ball set after a 17-yard run against the San Francisco 49ers in the closing seconds, and time expired as the Cowboys didn’t make room for an official to set the ball.

Prescott, the former Mississippi State QB, ran the ball with 14 seconds remaining and no timeouts. Prescott got the ball to the 49ers’ 24-yard line after the drive began at the Dallas 20.

And because of the scramble at the end, the San Francisco 49ers prevailed 23-17 on Sunday on Super Wild Card Weekend. The 49ers will advance to play the Green Bay Packers next week.

Former South Carolina star Deebo Samuel had an incredible game with 10 carries for 72 yards and a touchdown, with 3 catches for 38 yards.

Prescott finished 23-for-43 passing for 254 yards with a touchdown and interception. He also had 4 carries for 27 yards and a touchdown in the game.

It proved to be a frantic fourth quarter as the Cowboys scored 10 points to pull within a score after the 49ers led by as many as 23-7 in the third quarter following a Samuel touchdown.