Stewart-Haas Racing has signed Kevin Harvick to a long-term contract extension, ending speculation that the 2014 Sprint Cup champion wanted to leave.

The team announced the signing on Thursday, two days after Harvick sniped on social media at the consistent gossip that he was planning to exit the team. The speculation began when SHR said earlier this season it will move to Fords next year. Harvick has a long relationship with Chevrolet.

Harvick joined SHR in 2014 and immediately won his first championship.

Harvick will continue to drive the team's No. 4 entry and remain with crew chief Rodney Childers, who signed a multiyear contract extension last June.