A late caution flag gave Harrison Burton new life, and he took advantage.

Burton took the inside line on the way to the lead in the final lap, and held on to win the Xfinity Series race at Homestead-Miami Speedway — denying, among others, Dale Earnhardt Jr. and Noah Gragson, who seemed to be in full command with seven laps remaining.

More Images
Harrison Burton celebrates after winning a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

A late caution flag gave Harrison Burton new life, and he took advantage.

Harrison Burton gets out of his car after winning a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

“Omg!!!!!! What a bad assss restart,” Burton mother, Kim, tweeted. “You are the damn man kid!!!! I love you.”

Harrison Burton gets out of his car after winning a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

It was shaping up to be a runaway, with Gragson leading by more than 10 seconds before a caution came out with about seven laps remaining. But he couldn’t recapture that magic on the restart, and what would have been his third win of the season quickly slipped away.

Harrison Burton (20) drives during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

“I was rusty, all the way through,” Earnhardt said.

Noah Gragson (9) drives during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Tuesday might become considerably more memorable.

Dale Earnhardt Jr. makes a pit stop during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

“There ough to be something in the rule book to keep this from happening,” Earnhardt. said. “I haven’t been in a race car since Darlington last year. I’ve got no laps. I have no idea what’s going to happen. I’ve been nervous as hell for a week.”

Dale Earnhardt Jr. (8) drives during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

“I’m just ready to go again tomorrow,” Burton said. “I want to get two.”

Caesar Bacarella (90) passes empty seats during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Caesar Bacarella (90) passes empty seats during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Burton, Gragson and Austin Cindric were three-wide going into that last lap, and it was Burton — the 19-year-old son of former Cup star Jeff Burton, who wound up in front in a wild finish.

Harrison Burton celebrates after winning a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Harrison Burton celebrates after winning a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

“Omg!!!!!! What a bad assss restart,” Burton mother, Kim, tweeted. “You are the damn man kid!!!! I love you.”

Cindric was second and Gragson third, two spots ahead of Earnhardt — part of his car’s JR Motorsports ownership.

“I don’t know what I was doing, either, honestly,” Burton said of the three-wide fight going into that final lap. “What a race.”

Harrison Burton gets out of his car after winning a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Harrison Burton gets out of his car after winning a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

It was shaping up to be a runaway, with Gragson leading by more than 10 seconds before a caution came out with about seven laps remaining. But he couldn’t recapture that magic on the restart, and what would have been his third win of the season quickly slipped away.

“Restarts were just the biggest struggle. ... Just couldn’t get it going,” Gragson said.

It was Earnhardt’s third Xfinity Series appearance since retiring as a full-time Cup Series driver in 2017. He’s been top-five in all three of those cameos, and was sitting second behind only Gragson when that late flag came out.

Harrison Burton gets out of his car after winning a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Harrison Burton gets out of his car after winning a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

“I was rusty, all the way through,” Earnhardt said.

Earnhardt was winless in 17 Cup Series starts at Homestead in his career, with only one finish better than 10th in those. He’d also raced there five times in the Xfinity Series, placing second in 1999 for his best finish.

Either way, Saturday was a memorable day for Earnhardt.

Harrison Burton (20) drives during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Harrison Burton (20) drives during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Tuesday might become considerably more memorable.

He’s one of 15 nominees for the 2021 class that will go into the NASCAR Hall of Fame. The votes have been cast, with results scheduled to be revealed Tuesday afternoon.

Talking on his radio while taking pace laps Saturday before the race started, Earnhardt somewhat comically revealed that he was anxious about being behind the wheel again.

Noah Gragson (9) drives during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Noah Gragson (9) drives during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

“There ough to be something in the rule book to keep this from happening,” Earnhardt. said. “I haven’t been in a race car since Darlington last year. I’ve got no laps. I have no idea what’s going to happen. I’ve been nervous as hell for a week.”

It didn’t show. He was right there, all the way to the end.

But the day belonged to Burton, who grabbed his second victory of the season. The Xfinity cars are back on the track Sunday before the Cup Series race at Homestead. Earnhardt is not driving Sunday and plans that Saturday’s race will be his lone appearance as a driver this season.

Dale Earnhardt Jr. makes a pit stop during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Dale Earnhardt Jr. makes a pit stop during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

“I’m just ready to go again tomorrow,” Burton said. “I want to get two.”

More AP NASCAR: https://apnews.com/NASCAR and https://twitter.com/AP_Sports

Dale Earnhardt Jr. (8) drives during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Dale Earnhardt Jr. (8) drives during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Caesar Bacarella (90) passes empty seats during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)

Caesar Bacarella (90) passes empty seats during a NASCAR Xfinity Series auto race Saturday, June 13, 2020, in Homestead, Fla. (AP PhotoWilfredo Lee)