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

Lotteries Are for Losers: Kick the Habit and Become a Millionaire

Lotteries Are for Losers: Kick the Habit and Become a Millionaire

Bearish Bets: 2 Well-Known Stocks You Should Consider Shorting This Week

Bearish Bets: 2 Well-Known Stocks You Should Consider Shorting This Week

Alphabet's Waymo Is Moving Toward Self-Driving Semi Trucks

Alphabet's Waymo Is Moving Toward Self-Driving Semi Trucks

7 Bold Tech Stock Predictions for 2019

7 Bold Tech Stock Predictions for 2019

This 'Modern' Stock Market Needs to Change

This 'Modern' Stock Market Needs to Change