Great Clips will end its sponsorship of struggling NASCAR Cup driver Kasey Kahne after the 2017 season.

The company has exercised an option to end what was announced in 2016 as a two-year extension to sponsor 10 races a year through 2018.

It leaves Hendrick Motorsports needing an anchor sponsor for its No. 5 car for 2018. Farmers Insurance already had decided not to renew its 12-race deal after this season.

"We have enjoyed our partnership with Hendrick Motorsports over the last five years," Great Clips president Steve Hockett said in a statement provided to ESPN. "From top to bottom, Hendrick Motorsports is a first-class organization, and through our relationship, Kasey and the entire team have been excellent ambassadors of our brand.

"With a shift in our marketing strategies, our partnership will come to an end at the conclusion of 2017."

Kasey Kahne is currently 20th in the NASCAR Cup standings. He has no victories in his last 95 races, dating to 2014. Jonathan Ferrey/NASCAR/Getty Images

Kahne, who failed to make the playoffs in 2015 and 2016, is 20th in the NASCAR Cup standings, 60 points out of the current playoff cutoff with 14 races left in the regular season. He is on a 95-race winless streak, dating back to August 2014 at Atlanta.

Kahne's contract with Hendrick runs through 2018, although it is not unprecedented for Hendrick to buy out the final year of a driver's contract if it wants to make a change.

Kahne, 37, has 17 career Cup wins.

Hendrick Motorsports had no additional comment beyond the statement by Great Clips.