(CNN) In the end, the sequel was better than the original.

And this time, it was a happy ending for Clemson.

The Crimson Tide couldn't hold off two-time Heisman finalist Deshaun Watson, and the second-ranked Tigers upset No. 1 Alabama in a College Football Playoff title game rematch 35-31 early Tuesday at Raymond James Stadium in Tampa, Florida.

With one second remaining, Watson found sophomore wide receiver Hunter Renfrow for the game-winning score, a 2-yard touchdown pass. It capped a fourth quarter in which the Tigers scored 21 points.

Alabama defensive linemen Da'Ron Payne (No. 94) and Jonathan Allen (No. 93) corral Watson in the first quarter.

Alabama defensive linemen Da'Ron Payne (No. 94) and Jonathan Allen (No. 93) corral Watson in the first quarter.

Clemson head coach Dabo Swinney argues a call during the first half. Swinney graduated from Alabama and played football as a walk-on there in the early 1990s.

Clemson head coach Dabo Swinney argues a call during the first half. Swinney graduated from Alabama and played football as a walk-on there in the early 1990s.

Alabama head coach Nick Saban reacts during the second half. Saban has won four national championships with the Crimson Tide. He also won one as coach of LSU.

Alabama head coach Nick Saban reacts during the second half. Saban has won four national championships with the Crimson Tide. He also won one as coach of LSU.

Alabama linebacker Ryan Anderson strips Gallman in the third quarter. The turnover led to an Alabama field goal and a 17-7 lead.

Alabama linebacker Ryan Anderson strips Gallman in the third quarter. The turnover led to an Alabama field goal and a 17-7 lead.

Clemson defensive end Clelin Ferrell holds his ankle after spraining it in the third quarter. He was unable to return to the game.

Clemson defensive end Clelin Ferrell holds his ankle after spraining it in the third quarter. He was unable to return to the game.

Clemson wide receiver Deon Cain, left, celebrates with Renfrow after Renfrow's 24-yard touchdown catch in the third quarter. Clemson cut the Alabama lead to 17-14.

Clemson wide receiver Deon Cain, left, celebrates with Renfrow after Renfrow's 24-yard touchdown catch in the third quarter. Clemson cut the Alabama lead to 17-14.

Watson spins in the air after being hit by Alabama defenders in the third quarter.

Watson spins in the air after being hit by Alabama defenders in the third quarter.

Alabama tight end O.J. Howard runs down the sideline for a touchdown after catching a third-quarter pass from Hurts. The 68-yard play helped Alabama stretch its lead to 24-14.

Alabama tight end O.J. Howard runs down the sideline for a touchdown after catching a third-quarter pass from Hurts. The 68-yard play helped Alabama stretch its lead to 24-14.

Alabama running back Bo Scarbrough is looked at by trainers after getting hurt in the second half. He didn't return to the game. Scarbrough had two touchdowns in the first half.

Alabama running back Bo Scarbrough is looked at by trainers after getting hurt in the second half. He didn't return to the game. Scarbrough had two touchdowns in the first half.

Clemson wide receiver Hunter Renfrow pulls in the game-winning score with one second remaining. The game was played at Raymond James Stadium in Tampa, Florida.

Clemson wide receiver Hunter Renfrow pulls in the game-winning score with one second remaining. The game was played at Raymond James Stadium in Tampa, Florida.

Clemson quarterback Deshaun Watson celebrates after throwing a touchdown pass to win the championship game of the College Football Playoff. Clemson defeated Alabama 35-31 for its first national title since 1981. The Tigers also avenged their loss to Alabama in last year's title game.

Clemson quarterback Deshaun Watson celebrates after throwing a touchdown pass to win the championship game of the College Football Playoff. Clemson defeated Alabama 35-31 for its first national title since 1981. The Tigers also avenged their loss to Alabama in last year's title game.

"I knew before I even snapped the ball it was going to be a touchdown," Watson said. "All I had to do was just get the ball to him. I slowed down the moment, everyone made their blocks and did their part, and I did my part, and we pulled it out."

It's Clemson's first national title since the 1981 season and the first time it has beaten a top-ranked team.

"I don't know if I'm going to be able to stomach watching that one any time soon," Clemson head coach Dabo Swinney said. "That has to be one of the greatest games of all time, just absolutely incredible, to have to take the field and go down the field to win the game, that's what it's made of. That's what I told them when it was over. This is what it's all about right here, boys."

The last 7 National Champions before tonight:



Bama

Ohio St

FSU

Auburn



Clemson beat them ALL this season. pic.twitter.com/QfgZ92j69c — Clemson Football (@ClemsonFB) January 10, 2017

In last year's title game, which Alabama won 45-40, Watson gave the Crimson Tide trouble, completing 30 of 47 passes for 405 yards and four touchdowns while rushing for 73 yards.

On Monday night, the Clemson junior quarterback got off to a slow start but heated up as the game went along, finishing with 36-of-56 passing for 420 yards and three touchdowns and had 43 yards rushing with one score. He was named the game's MVP.

Final Clemson game for Watson

Following the win, Watson confirmed this was his final game playing for Clemson (14-1) and that he would enter the upcoming NFL draft.

"It was a tough decision," Watson, who graduated in December, said. "You know, Clemson is a special place. I've enjoyed every single moment since I came in, in January of 2014. Three years kind of flew by. But I think it's my time to go, just kind of end it with a bang, and I felt like Coach Swinney knew my time was up.

"I've enjoyed, like I said, the three years, and I just wanted to sign my name and end it with an exclamation point, and I think I did that. Moments like this I'll never forget. Clemson was the best three years of my life, and credit me as the person I am today. Through my faith, as a citizen, as a football player, as a student, I've learned so much, and it's just been special."

The best player in college football and there is no debate. 4️⃣#ALLIN pic.twitter.com/GpiNiCX262 — Clemson Football (@ClemsonFB) January 10, 2017

It's also special for Swinney, winning his first title as a head coach. A walk-on wide receiver at Alabama, Swinney was on the 1992 Crimson Tide team that won the national title. He joins Bud Wilkinson as the only person to play on and serve as head coach of a team that won an Associated Press national championship.

Wilkinson played on Minnesota's title-winning team in 1936 and was head coach of Oklahoma teams of 1951, 1955 and 1956 that won titles.

"I can't tell you how humbled I am, blessed and so thankful to be a part of helping get Clemson back on top, this moment, 35 years, and doing something that a lot of people didn't think we could do," Swinney said. "I'm just so thankful for that opportunity, and I'm excited about continuing to help Clemson be the best."

Alabama (14-1), which had the chance to go wire-to-wire as No. 1, lost its first game since September 19, 2015, ending a 26-game win streak.

"I don't think one game defines who you are, you know, as a person, as a competitor, or as a team and certainly not define what this group of young men was able to accomplish this year," Alabama head coach Nick Saban said. "It was a hard-fought game out there today, very disappointing to lose a game like that, and I wish there was something else that I could do for the players to help them be more successful in the game."

The loss kept Saban from winning a sixth title, which would have tied him with another Alabama legend: Bear Bryant.

A dramatic comeback

It didn't start well for the Tigers.

Alabama sophomore running back Bo Scarbrough, who rushed for 180 yards and two touchdowns in the Peach Bowl semifinal, continued his dominance in Tampa before leaving with an injury, running for 93 yards and two first-half touchdowns. That gave the Crimson Tide at 14-0 lead.

A 24-yard pass from Watson to Renfrow cut the score to 17-14 with 7:10 left in the third quarter. But later in the period Jalen Hurts, who had been quiet for much of this game, stepped up. The freshman quarterback connected with senior tight end O.J. Howard for a 68-yard touchdown to give Alabama a 24-14 lead.

Hurts passed for 131 yards with a touchdown, going 13-of-31.

Then came a frentic fourth quarter. With 4:38 remaining, Clemson regained the lead at 28-24 with a 1-yard touchdown run from junior running back Wayne Gallman. Hurts counterpunched, scoring on a 30-yard run to make it 31-28 with 2:07 left and giving him 63 rushing yards on the night.

That set up the final drive from Watson. In that final quarter, he was 12-of-18 for 130 yards.

"I just smiled right when they scored," Watson said. "I had seen the two minutes and one second on the clock, and I just smiled and I just knew, I just told my guys, 'Hey, let's be legendary, let's go be great.' I told myself they left too much time on the clock. Last year they ran out the time, but this time they left us a little bit too much."

Alabama entered the night leading the country in total defense, rushing defense, scoring defense and defensive touchdowns. But it didn't look like it in the final quarter. Thanks in huge part to Watson, Clemson finished with 511 total yards of offense.

"I knew he was going to come back strong in the second half," Alabama senior defensive lineman Jonathan Allen said of Watson. "They made the adjustments they needed to and we didn't."