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

FedEx Tanks After It Fails to Deliver on Earnings

FedEx Tanks After It Fails to Deliver on Earnings

FedEx's Free Cash Flow Offers a Positive Signal for a Sagging Stock

FedEx's Free Cash Flow Offers a Positive Signal for a Sagging Stock

Facebook, Banks Went Back and Forth Over User Data: LIVE MARKETS BLOG

Facebook, Banks Went Back and Forth Over User Data: LIVE MARKETS BLOG

Today's Market Was Primarily Fueled by Bad Positioning

Today's Market Was Primarily Fueled by Bad Positioning

Alibaba's Investor Day: 5 Key Takeaways

Alibaba's Investor Day: 5 Key Takeaways