By Zack Albert, NASCAR.com

Dale Earnhardt Jr. announced his retirement from the Monster Energy NASCAR Cup Series after the 2017 season, saying that he wanted to leave stock-car racing competition on his own terms. But his words also struck a tone of optimism, that his involvement with the sport would remain strong.

 It was a decision not easily reached and a day that was "bittersweet," but one that he indicated brought a certain degree of peace.

 "I accomplished way more than I ever dreamed, way more than I ever thought I'd accomplish," Earnhardt said. "So I'm good, you know. I'm good on that front. I'm so blessed and fortunate on what I was able to achieve but I'm very sad because it's definitely disappointing for a lot of people."

 Earnhardt acknowledged that his recent health concerns -- which caused him to miss half of the 2016 season -- were a factor in making his choice now, to finish out the final year of his contract with the team.

 "I wanted to honor my commitment to Rick, to my sponsors, to my team and to the fans," Earnhardt said. "I'll admit that having an influence over my exit only became meaningful when it started to seem most unlikely. As you know, I missed a few races last year and during that time I had to face the realization that my driving career may have already ended without me so much as getting a vote at the table. Of course, in life we're not promised a vote and that's especially true in racing."

 Earnhardt, 42, returned to competition in the No. 88 Chevrolet this year after a concussion and lingering symptoms sidelined him from NASCAR's top series for the final 18 races last season. Through his rehabilitation process, Earnhardt has become a vocal advocate for research of sports-related brain injuries.

 But his stint away from the drivers' seat, he said, also gave him the benefit of time "to understand what's important to me, time to realize the incredible support system I have in my wife, my team and my doctors, and time to work like hell to wrestle back some semblance of say-so in this whole matter."

 The 14-time Most Popular Driver has won 26 times over a career that began at age 24 in 1999. Among his accomplishments are two Daytona 500 crowns (2004, 2014) and two championships (1998, 1999) in what is now called the NASCAR XFINITY Series.

 This marks the 18th race in Wine Country for Dale Earnhardt Jr., who will take to the Sonoma Raceway road course for a final time at the Toyota/Save Mart 350, June 25. Be sure to cheer on the number 88 as he tackles the left and right hand turns of Sonoma Raceway.