NASCAR star Danica Patrick announced on Tuesday that she would no longer race for Stewart-Haas Racing beyond this year.

"It has been my honor to drive for Tony Stewart, Gene Haas and everyone at Stewart-Haas Racing for the past six seasons. Together we earned a Daytona 500 pole, seven top-10 finishes and we also had some exciting racing along the way," Patrick wrote on her Facebook (FB) page.

"My time driving for them, however, has come to an end due to a new sponsorship arrangement in 2018. Sponsorship plays a vital role in our sport, and I have been very fortunate over the course of my career, but this year threw us for a curve," Patrick continued. "Our amazing partners, such as Aspen Dental and Code 3, stepped up in a big way on short notice this year and I am incredibly grateful."

The NASCAR star's announcement follows the decision by Smithfield Foods (SFD) to become the primary sponsor at Stewart-Haas beginning in 2018. The move was said to spur changes at Stewart-Haas including the Number 10 car, driven by Patrick. 

Don't miss these top stories on TheStreet:

More from Investing

Immigration, Instagram and Oil - Here's What You Can't Miss Wednesday

Immigration, Instagram and Oil - Here's What You Can't Miss Wednesday

What Will GM Do With Cruise -- and Is Its Stock Worth $55?

What Will GM Do With Cruise -- and Is Its Stock Worth $55?

3 Must Reads on the Market From TheStreet's Top Columnists

3 Must Reads on the Market From TheStreet's Top Columnists

This Should Be Your Retirement Savings Plan When the Stock Market Crashes

This Should Be Your Retirement Savings Plan When the Stock Market Crashes

Former General Electric CEO Jack Welch Has 4 Tips to Getting a Promotion

Former General Electric CEO Jack Welch Has 4 Tips to Getting a Promotion